Eric Huss
c44ef1b2f0
Fix some clippy warnings.
2020-05-10 08:29:50 -07:00
Dylan DPC
59568208ff
Revert "Support anchors in SUMMARY ( #1173 )" ( #1175 )
...
This reverts commit 2baed040c2
.
2020-03-24 23:52:24 +01:00
Martin Carton
2baed040c2
Support anchors in SUMMARY ( #1173 )
...
* Parse anchors in `SUMMARY.md`
* Support sub-links in SUMMARY with html renderer
* Add some tests for anchors
2020-03-24 19:15:28 +01:00
dalance
b82562fe8a
Fix SUMMARY's parse_numbered with comment
2020-03-18 12:28:27 +09:00
Marcus Klaas de Vries
2a3088422a
Upgrade pulldown_cmark to 0.6.1
2019-11-11 20:25:38 +01:00
Steve Klabnik
f79d5d4582
rust-lang-nursery -> rust-lang
...
Fixes #1080
2019-10-29 08:04:16 -05:00
Eric Huss
3cfed10098
Update to pulldown-cmark 0.5. ( #898 )
...
* Update to pulldown-cmark 0.4.1.
* Update to pulldown-cmark 0.5.2.
* Remove pulldown-cmark-to-cmark dependency.
Since it is not compatible with the new pulldown-cmark. This example isn't
directly usable, anyways, and I think the no-op example sufficiently shows how
to make a preprocessor.
* cargo fmt
* Fix example link.
2019-06-11 18:26:24 +02:00
lzutao
8542f7f29d
Transition to 2018 edition ( #933 )
...
* Transition to 2018 edition
* Update Travis CI badge in README
* Remove non-idiomatic `extern crate` lines
2019-05-25 20:50:41 +02:00
lzutao
581187098c
Deny 2018 edition idioms globally ( #911 )
2019-05-06 22:50:34 +02:00
Lzu Tao
0aa3a9045a
cargo fmt
2019-05-05 22:00:24 +07:00
Bas Bossink
991a725c26
Solve the simplest clippy warnings and run rustfmt
2018-12-04 00:10:09 +01:00
Jan-Erik Rediger
0c926b3e88
Ensure section numbers are correctly incremented after a horizontal separator ( #790 )
...
Fixes #779
2018-09-19 23:33:28 +08:00
Matt Ickstadt
3688f73052
rustfmt
...
using rustfmt 0.99.2-nightly
2018-08-21 10:58:44 -05:00
Matt Ickstadt
1d69ccae48
Run rustfmt
...
using 0.8.2-stable included in rustc 1.28.0
2018-08-02 20:22:49 -05:00
Matt Ickstadt
5835da2432
Run rustfmt
2018-07-23 12:47:04 -05:00
Pawel Duzinkiewicz
b86533b2a1
pulldown-cmark updated to 0.1.2, fixmes removed, new cargo.lock generated. ( #639 )
2018-03-11 22:17:38 +08:00
Michael Bryan
5379a0bdf8
Made the logging a lot quieter by default ( #569 )
2018-01-23 01:28:37 +08:00
Michael Bryan
0d146ffa82
Improve SUMMARY parser error messages ( fixes #566 ) ( #567 )
2018-01-22 20:47:29 +08:00
Michael Bryan
fa84da0856
Stop pulling pulldown-cmark from master ( #555 )
...
* Manually implemented PartialEq for pulldown_cmark types
* Fixed an issue where we wouldn't skip a tag properly
2018-01-19 01:21:04 +08:00
Michael Bryan
cba16a0083
Updated dependencies and made logging more readable
2017-12-30 18:43:46 +08:00
Michael Bryan
75dac15f09
Fixed a couple issues with the docs
2017-12-11 18:50:31 +11:00
Michael Bryan
148511eceb
Able to parse all existing SUMMARY.md files
2017-12-11 17:20:05 +11:00
Michael Bryan
f5e9b857de
Rewrote summary parser from a state machine to use recursive descent
2017-12-11 15:17:20 +11:00
Michael Bryan
4f4e86db3a
Added tests to make sure we parse existing SUMMARY.md's
2017-12-11 12:26:11 +11:00
Michael Bryan
21498631b3
Made sure the dummy book can build
2017-12-10 22:50:57 +11:00
Michael Bryan
4c6c696c87
Copied across the summary parser and Book structure (doesn't compile)
2017-12-10 22:43:12 +11:00