Jan-Erik Rediger
adde0c8cfb
Avoid roundtripping through pulldown-cmark
...
Roundtripping markdown is actually quite hard.
We don't actually require that.
All we need is once parsing the markdown to find the right marker and
the headings.
We then manually generate markdown and all other content can be copied
unparsed again.
2022-01-25 21:04:50 +01:00
Jan-Erik Rediger
e759070dc8
Add test case for backslash escapes
2021-08-02 18:18:49 +02:00
Jan-Erik Rediger
b23b9558ab
(cargo-release) start next development iteration 0.7.1-alpha.0
2021-07-06 14:41:32 +02:00
Jan-Erik Rediger
e9fa4fd051
(cargo-release) version 0.7.0
2021-07-06 14:41:22 +02:00
Jan-Erik Rediger
f868b7b718
Prepare release
2021-07-06 14:41:08 +02:00
Jan-Erik Rediger
036c2d88e5
Merge pull request #20 from Smittyvb/bump-deps
...
Bump dependencies to fix HTML in tables
2021-07-06 14:35:23 +02:00
Smitty
980047b0cf
Bump dependencies to fix HTML in tables
...
This updates dependencies, causing #19 to be fixed. This also adds a
regression test for #19 .
2021-06-23 10:01:39 -04:00
Jan-Erik Rediger
1b3dceae42
Convert all tests into input/output files
2021-06-23 12:30:55 +02:00
Jan-Erik Rediger
ddbe8125cd
Add minimal docs
2021-06-23 12:08:00 +02:00
Jan-Erik Rediger
a8a2e649df
Move all tests to be integration tests only
2021-06-23 12:05:39 +02:00
Jan-Erik Rediger
14f623590f
(cargo-release) start next development iteration 0.6.5-alpha.0
2021-06-11 13:51:58 +02:00
Jan-Erik Rediger
539dacb665
(cargo-release) version 0.6.4
2021-06-11 13:51:47 +02:00
Jan-Erik Rediger
467046a6da
Prepare release
2021-06-11 13:51:33 +02:00
Jan-Erik Rediger
464199928d
Bump mdbook dependency to v0.4.10
2021-06-11 13:51:24 +02:00
Jan-Erik Rediger
3c982fbf08
Bump mdbook dependency to v0.4.9
2021-06-11 13:47:39 +02:00
Jan-Erik Rediger
d73155dee5
Add changelog entry
2021-04-21 10:29:10 +02:00
Jan-Erik Rediger
1eb3378ffd
(cargo-release) start next development iteration 0.6.4-alpha.0
2021-04-21 10:28:16 +02:00
Jan-Erik Rediger
8d3a38870a
(cargo-release) version 0.6.3
2021-04-21 10:28:00 +02:00
Jan-Erik Rediger
cb9413d50f
Bugfix: Use slug (normalied header) to decide whether to use a different link anchor
...
We simply used the wrong thing to check it!
Fixes #15
2021-04-21 10:26:43 +02:00
Jan-Erik Rediger
8165026716
(cargo-release) start next development iteration 0.6.3-alpha.0
2021-04-06 19:09:08 +02:00
Jan-Erik Rediger
aa281acd5a
(cargo-release) version 0.6.2
2021-04-06 19:08:59 +02:00
Jan-Erik Rediger
f816a0153f
Add a changelog
2021-04-06 19:08:49 +02:00
Jan-Erik Rediger
2001e01ffa
Don't write the TOC if no marker was found
...
Fixes #13
2021-04-06 18:52:25 +02:00
Jan-Erik Rediger
dd92ae0ec3
(cargo-release) start next development iteration 0.6.2-alpha.0
2021-01-06 17:13:45 +01:00
Jan-Erik Rediger
4da9a5c539
(cargo-release) version 0.6.1
2021-01-06 17:13:28 +01:00
Jan-Erik Rediger
3b7eddc9e0
Use correct file name for Windows release
2021-01-06 17:13:22 +01:00
Jan-Erik Rediger
72f3c16520
(cargo-release) start next development iteration 0.6.1-alpha.0
2021-01-06 16:34:27 +01:00
Jan-Erik Rediger
f45efc5047
(cargo-release) version 0.6.0
2021-01-06 16:34:05 +01:00
Jan-Erik Rediger
77b6ebd0d0
Depend on the tested mdbook version
2021-01-06 16:33:12 +01:00
Jan-Erik Rediger
e8e54e74ea
Merge pull request #12 from badboy/configurable-depth
2021-01-06 15:20:24 +01:00
Jan-Erik Rediger
896a9b2c3d
Don't generate docs for dependencies when just testing
2021-01-06 14:59:32 +01:00
Jan-Erik Rediger
eeec295a78
Document configurability of the maximum level.
...
Fixes #11
2021-01-06 14:55:47 +01:00
Jan-Erik Rediger
9a9288085f
Pass config everywhere
2021-01-06 14:55:47 +01:00
Jan-Erik Rediger
8916d17e4b
Parse max-level
2021-01-06 14:55:45 +01:00
Jan-Erik Rediger
6e8b632a30
Refactor: parse config in a central place
2021-01-06 14:54:45 +01:00
Jan-Erik Rediger
01f2879e10
cargo fmt
2021-01-06 14:27:35 +01:00
Rene Leveille
6c96ceea1f
Allow custom ToC markers through configuration
2021-01-06 14:16:43 +01:00
NBonaparte
f8f09d441e
Generate unique slugs for identically named headers
2021-01-06 13:52:21 +01:00
Jan-Erik Rediger
d4b1a24d07
Switch to GitHub Actions
2021-01-05 20:41:11 +01:00
Jan-Erik Rediger
4ca8284724
(cargo-release) start next development iteration 0.5.2-alpha.0
2020-09-28 17:47:37 +02:00
Jan-Erik Rediger
a55164f179
(cargo-release) version 0.5.1
2020-09-28 17:47:30 +02:00
Jan-Erik Rediger
4577ca5510
Don't compile with LTO
2020-09-28 17:47:23 +02:00
Jan-Erik Rediger
9a2c0c52c5
(cargo-release) start next development iteration 0.5.1-alpha.0
2020-09-28 17:25:42 +02:00
Jan-Erik Rediger
9f15f372f6
(cargo-release) version 0.5.0
2020-09-28 17:25:38 +02:00
Jan-Erik Rediger
8dceed5003
Upgrade dependencies, including mdbook itself
2020-09-28 17:25:03 +02:00
Jan-Erik Rediger
531073fe2b
(cargo-release) start next development iteration 0.4.4-alpha.0
2020-06-24 11:49:03 +02:00
Jan-Erik Rediger
08894acd62
(cargo-release) version 0.4.3
2020-06-24 11:47:49 +02:00
Jan-Erik Rediger
2d5b40214c
Start normalizing the levels based on the first header's level
2020-06-24 11:33:46 +02:00
Jan-Erik Rediger
5706d2e6bf
(cargo-release) start next development iteration 0.4.3-alpha.0
2020-06-05 09:09:34 +02:00
Jan-Erik Rediger
22cf9cd9b5
(cargo-release) version 0.4.2
2020-06-05 09:07:26 +02:00