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
Vincent Prouillet
cdcebaea26
Cleanup of slotmap impl
Fix #205
6 years ago
Vincent Prouillet
396d237673
Use Tera render_with_borrowed
6 years ago
Christian Friedrich Coors
85529186e4
Fix some clippy warnings
6 years ago
Vincent Prouillet
f100d956c6
Fix incorrect default for highlight_code of Config
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
2a53955696
Fix rendering benchmarks.
6 years ago
Thomas Hurst
68690a2cf1
Add a test for summary handling in Markdown rendering.
6 years ago
Thomas Hurst
c53c403790
Update rendering tests
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
735bb38bd7
Update docs for 404 and enable preserve-order of tera
6 years ago
Vincent Prouillet
9e9fe50769
Fix rendering benchmark
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
7f48b9bee8
Update more deps and appveyor config
6 years ago
Vincent Prouillet
d67211bfd6
Fix many shortcode parsing issues
Closes #228
Closes #229
6 years ago
Vincent Prouillet
bcf42a0c10
The wonders of serde default, take 2
6 years ago
Vincent Prouillet
45fc1ee761
Release 0.3.1
6 years ago
Vincent Prouillet
11bfd7b2be
Tera 0.11 has been released
6 years ago
Vincent Prouillet
77634ebe83
Update syntect
6 years ago
Vincent Prouillet
bfdc93f948
Cargo update
7 years ago
Vincent Prouillet
cfefb45913
Update to Tera 0.11 beta
7 years ago