mirror of
https://github.com/getzola/zola
synced 2024-12-13 22:02:29 +00:00
637b00547a
* Next version * Added tests for shortcode insertion * Added TOC tests * Added test for #1475 and #1355 * Basic internal / external links tests * Added integration test * Added pseudocode and started on logos * Logos parsing for shortcodes * Fixed string literal parsing Moved string literal parsing to a new lexer in order to have greater control of control characters which are parsed. This fixes the bug that was present in the `string_from_quoted` function and also moves the `QuoteType` to be in the `ArgValueToken`. * Moved string literal logic to seperate module * Added square bracket notation for variables * Error handling rewritten Remove the Result from the `fetch_shortcodes` function. Added proper messages within the internal parsing. * Reorganized and documented the shortcode submodule * Added all logic for ShortcodeContext spans * Added working insertion code for MD files * Made functions generic over Markdown or HTML * Add check for embedding bodies * Structure of main function clear * Added test for `new_with_transforms` function * It runs! * Added the code for handling p-ed html shortcodes * Removed placeholders in markdown function * Adjusted integration tests * fetch_shortcodes now also returns a string * Start of HTML insertion * Kinda working everything * Loading of shortcodes and builtins * Fix tests * Some missed fixes * Tweaks + fmt * Remove string literal handling * Fix benches * Grab shortcode def only once per site * Fix benches * Rewrite of parser * Fix tests * Add test for #1655 * Re-enable integration test * Add test for #1601 * Add test for #1600 * Add test for #1500 * Add test for #1320 * Fix test on windows? Co-authored-by: Gijs Burghoorn <g.burghoorn@gmail.com>
27 lines
633 B
TOML
27 lines
633 B
TOML
[package]
|
|
name = "rendering"
|
|
version = "0.1.0"
|
|
authors = ["Vincent Prouillet <prouillet.vincent@gmail.com>"]
|
|
edition = "2018"
|
|
include = ["src/**/*"]
|
|
|
|
[dependencies]
|
|
tera = { version = "1", features = ["preserve_order"] }
|
|
syntect = "4"
|
|
pulldown-cmark = { version = "0.8", default-features = false }
|
|
serde = "1"
|
|
serde_derive = "1"
|
|
logos = "0.12"
|
|
regex = "1"
|
|
lazy_static = "1"
|
|
gh-emoji = "1.0"
|
|
|
|
errors = { path = "../errors" }
|
|
front_matter = { path = "../front_matter" }
|
|
utils = { path = "../utils" }
|
|
config = { path = "../config" }
|
|
link_checker = { path = "../link_checker" }
|
|
|
|
[dev-dependencies]
|
|
templates = { path = "../templates" }
|
|
|