Skip to content

Commit

Permalink
feat: add more text to mdbook example
Browse files Browse the repository at this point in the history
  • Loading branch information
savente93 committed Jul 6, 2024
1 parent 7a44a45 commit f421b20
Show file tree
Hide file tree
Showing 18 changed files with 477 additions and 172 deletions.
18 changes: 0 additions & 18 deletions .vscode/tasks.json

This file was deleted.

11 changes: 6 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,26 +17,27 @@ env_logger = "0.11.3"
html-escape = "0.2.13"
lazy_static = "1.4.0"
log = { version = "0.4.22", features = ["std"] }
logging = "0.1.0"
# mdbook = { version = "0.4.40", optional = true, default-features = false }
mdbook = { version = "0.4.40" }
mdbook = { version = "0.4.40", optional = true, default-features = false }
nom = { version = "7.1.3", features = ["alloc"] }
parse-hyperlinks = "0.27.2"
semver = { version = "1.0.23" }
semver = { version = "1.0.23", optional = true, default-features = false }
serde = { version = "1.0.202", features = ["derive"] }
serde_json = { version = "1.0.118" }
toml = "0.5.11"
unicode-segmentation = "1.11.0"

[features]
mdbook = ["dep:mdbook", "dep:semver", "dep:toml"]

[lib]
name = "cite_me_bro"
path = "src/lib.rs"


[[bin]]
name = "cmb"
path = "src/bin/cmb.rs"

[[bin]]
name = "mdbook-citations"
path = "src/bin/mdbook-bin.rs"
required-features = ['mdbook']
1 change: 1 addition & 0 deletions examples/mdbook/book.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ title = "A short history of citations"
[preprocessor.citations]
bibfile = "citations.bib" # the file containing your citations
style = "apa" # the style you want to use. possible values are currently: ieee (defautl) and apa
fail_fast = true
Loading

0 comments on commit f421b20

Please sign in to comment.