Vincent Prouillet
c63b7fde44
load_data now defaults to plain type + fix bug with get_taxonomy fn
5 years ago
Vincent Prouillet
3eaf13d49b
Update pulldown_cmark
5 years ago
Vincent Prouillet
9bc675f2a7
Fix colocated dates + rustfmt
Closes #607
5 years ago
Vincent Prouillet
9398ab789c
Clone-less toc making
5 years ago
Vincent Prouillet
1e2dd9ce03
Update tera to v1 alpha
5 years ago
Peng Guanwen
5ab3466e2b
Doc improvements
5 years ago
Peng Guanwen
1dbd8874c0
derive Debug for HeaderIndex
5 years ago
Peng Guanwen
c027cd97d6
Footnote is now supported in headers
This fixes #569 .
`markdown_to_html` is heavily refactored, header-related things is
handled in a second pass.
5 years ago
toidiu
09f691fa47
add id to continue reading p tag ( #577 )
* add id to continue reading p tag
5 years ago
Peng Guanwen
7130616f63
Minor fixes
5 years ago
Peng Guanwen
972aab1ac4
Add emphasis, strong and code support in header
5 years ago
Peng Guanwen
774514f4d4
refactor markdown_to_html
this commit contains two refactors:
- extract custom link transformations into a function.
- separate some trivial markup generation.
5 years ago
Shotaro Yamada
692103bff4
Remove redundant clone
6 years ago
Vincent Prouillet
e2c3bb2ce2
Fix shortcodes <-> markdown indentation
6 years ago
Vincent Prouillet
56af4ca7f9
Add page_template to sections
To override all child pages
Closes #397
Tests from PR #434
6 years ago
Vincent Prouillet
b7ce4e59fb
rustfmt
6 years ago
Michael Plotke
4db629a060
prevent html tags from appearing in the toc
6 years ago
Vincent Prouillet
ee3f4dc511
Update to syntect 3
6 years ago
Christian Friedrich Coors
85529186e4
Fix some clippy warnings
6 years ago
Vincent Prouillet
10c7aa0a6a
No replacein markdown rendering
Fix #430
6 years ago
Vincent Prouillet
b4158921dd
Fix email links being checked by link checker
Closes #403
6 years ago
C Jones
dabc614fb3
Change highlighting to not include duplicated background colors
6 years ago
Thomas Hurst
5f1f9efe7a
Derive debug for markdown::Rendered
6 years ago
Thomas Hurst
f2f3bed080
Markdown parsing: prefer Borrowed over Owned where possible
As mentioned in #376
6 years ago
Thomas Hurst
c069bfdafa
Rework summary handling.
Push summary handling into Markdown parsing, identifying the presence
of one by giving its length in the rendered markup.
Hopefully a better fix for #376 .
6 years ago
Nathan Ringo
9df5da4697
Fixes bug with extra syntaxes in non-root section, adds tests.
6 years ago
Nathan Ringo
64fa890aa9
Adds support for loading additional syntaxes via extra_syntaxes.
6 years ago
Vincent Prouillet
84a3193e97
Last fixes
6 years ago
Vincent Prouillet
60a52fd2cc
Some intellij reformatting
6 years ago
Vincent Prouillet
3e48ff24b5
Add an external link checker
Close #115
6 years ago
Vincent Prouillet
d47ba4aff0
Rebasing + tweaks
6 years ago
Vincent Prouillet
f07bb38c37
Fix image in markdown rendering
6 years ago
Vincent Prouillet
d69ada09d2
Make permalinks out of co-located images
6 years ago
Vincent Prouillet
ef543b3d2b
Make co-located asset link permalinks
6 years ago
Vincent Prouillet
d39edd8ecb
Allow links in headers
6 years ago
Vincent Prouillet
85e13483eb
Use the new shortcode parser
6 years ago
Reilly Tucker Siemens
e662f73438
Hack fix and new tests for body-shortcodes
7 years ago
Vincent Prouillet
7d7efdd6ea
Handle markdown parser potentially splitting shortcodes
7 years ago
Vincent Prouillet
ca5bdc8f3c
Do not ignore shortcodes without args
7 years ago
Vincent Prouillet
c2b190513e
Refactor markdown header rendering
7 years ago
Vincent Prouillet
b3d002f54d
Clippy run
7 years ago
Vincent Prouillet
ce704097a4
Add benches for rendering crate
7 years ago
Vincent Prouillet
c3b525745e
Convert project to a workspace
7 years ago
William Yao
2109787625
coalesce syntect data structures into rendering::highlighting ( Keats/gutenberg#89 )
7 years ago
William Yao
b759cf7681
parallelize site rendering with rayon ( Keats/gutenberg#70 )
7 years ago
Vincent Prouillet
c3986b701a
Add table of contents support
7 years ago
William Yao
4c9d1e3af7
Add shortcode for Streamable videos (Electric Boogaloo) ( #80 )
Add shortcode for Streamable video
7 years ago
Vincent Prouillet
958f1cf88c
Update Tera and fix tests
7 years ago
Vincent Prouillet
dbe4a1d517
Move insert_anchor to section and allow left/right
7 years ago
Vincent Prouillet
26159609d2
Add a rendering module
7 years ago