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
Vincent Prouillet
b3004c69ef
Fix broken taxonomies pagination
Closes #533
6 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
Jonathan Watt
f1b6f3082e
Remove unmatchable rules from render_shortcodes
6 years ago
Vincent Prouillet
f84ae7c93b
Rename all occurrences of gutenberg to zola in code
6 years ago
Michael Plotke
4db629a060
prevent html tags from appearing in the toc
6 years ago
Vincent Prouillet
7ecdc47b91
Remove line trimming for shortcode bodies
Can't remember why it was doing that even
with the comment and the test added in the
commit still pass so...
Fix #462
6 years ago
Jonathan Watt
324211159e
Fix content parser's 'text' rule to use the correct production
6 years ago
Vincent Prouillet
0b0b4a86db
Update pest for shortcode parser
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
4571b067ea
Fix ignored shortcode swallowing whitespace
Fix #383
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
Vincent Prouillet
38b30eb144
Update deps and fix deprecrations
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
Vincent Prouillet
e0291cec65
Add Swift, MiniZinc syntax and update the rest
Also fix tests
Close #367, #372
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
Vojtech Kral
6662014e55
Add image resizing support #225
6 years ago
Vincent Prouillet
3eb571fdbf
Trim left every line of a shortcode to avoid the accidental markdown codeblock
6 years ago
Vincent Prouillet
f07bb38c37
Fix image in markdown rendering
6 years ago
Vincent Prouillet
d334b1cf46
More shortcode docs update
6 years ago
Vincent Prouillet
b120754862
Update shortcode parsing and docs
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
Vincent Prouillet
204f514c0e
WIP: new markdown rendering
6 years ago
Vincent Prouillet
d67211bfd6
Fix many shortcode parsing issues
Closes #228
Closes #229
6 years ago
Geoff Shannon
c19e900bec
Extract syntex highlighting module into a new component in workspace
This removes the dependency cycle between config and rendering that
causes 4 packages to be recompiled every time a change is made.
I just want to code fast!
7 years ago
Reilly Tucker Siemens
e662f73438
Hack fix and new tests for body-shortcodes
7 years ago
Vincent Prouillet
bfdfe3bba3
Properly parse shortcode arg value types
7 years ago
Vincent Prouillet
7d7efdd6ea
Handle markdown parser potentially splitting shortcodes
7 years ago