Crates.io | mdbook-bib |
lib.rs | mdbook-bib |
version | 0.0.6 |
source | src |
created_at | 2021-02-10 02:39:16.502229 |
updated_at | 2023-09-02 20:05:57.383598 |
description | mdbook plugin allowing to load and present a bibliography in BibLaTex format in your books and cite its references |
homepage | |
repository | https://github.com/francisco-perez-sorrosal/mdbook-bib |
max_upload_size | |
id | 353011 |
size | 144,964 |
A mdBook plugin for creating a bibliography & citations in your books.
If you have mdbook installed just do:
cargo install mdbook-bib
Make sure your PATH env var contains Cargo's /bin
directory where the plugin was installed. Then follow the instructions below to use the plugin.
See all options in the Install section of the manual.
Add a bibliography file in BibLaTex format to the root of your mdbook (which is pointed by the src
parameter in the [book]
section of the .toml
file) and then add the following section to the mdbook's .toml
config file:
[book]
#...
[preprocessor.bib]
bibliography = "my_biblio.bib"
The bibliography will appear as a separate section in your book ToC.
Now you can add references/citations to the citation-keys appearing in the .bib
file with:
{{#cite my-citation-key}}
or simply with:
@@my-citation-key
See other configuration options in the Config section of the manual.
Check the Contrib section of the manual if you want to contribute to mdbook-bib!