Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

using a template to convert .bib into summary html table #313

Open
fdq09eca opened this issue Jul 13, 2020 · 1 comment
Open

using a template to convert .bib into summary html table #313

fdq09eca opened this issue Jul 13, 2020 · 1 comment

Comments

@fdq09eca
Copy link

fdq09eca commented Jul 13, 2020

I am having a .bib file with the following format

@article{ploberger2017one,
  title={One belt, One road--China’s new grand strategy},
  author={Ploberger, Christian},
  journal={Journal of Chinese Economic and Business Studies},
  volume={15},
  number={3},
  pages={289--305},
  year={2017},
  publisher={Taylor \& Francis},
  datasrc={Est dolore Lorem},
  type={labour},
  review={
    - consectetur eu magna adipisicing excepteur nisi aliqua in. 
    - Adipisicing ipsum nostrud adipisicing eiusmod sit.
    - Occaecat minim aute ex culpa dolor. 
    - Cupidatat dolore exercitation et ullamco non eu et enim.
  },
  findings={
    - consectetur eu magna adipisicing excepteur nisi aliqua in. 
    - Adipisicing ipsum nostrud adipisicing eiusmod sit.
    - Occaecat minim aute ex culpa dolor. 
    - Cupidatat dolore exercitation et ullamco non eu et enim.
  }
}

note that datasrc, type, review, findings are custom attribute.

I have got over 100 entries in this format and I would like to convert them into a HTML table in jekyll with the following template

type | year | author | datasrc | review | findings

how may I do so? Thank you.

@inukshuk
Copy link
Owner

You can probably use a custom bibliography template and change the bibliography_list_tag to tbody (And you need to wrap the whole bibliography in a table with your own thead)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants