zola/components
Hanno Braun 6d6df45f23
Make shortcodes work in markdown filter (#1358)
* Move `load_tera` to `templates`

I don't know if this is a good place for it, conceptually. I'm moving it
there because I need to use it from `templates`, and `templates` can't
depend on `site`, because there's already a dependency in the opposite
direction.

* Load templates in `markdown` filter

This enables the `markdown` filter to handle shortcodes, as long as
those shortcodes don't access any context variables.

Addresses #1350

* Update documentation of `markdown` filter

* Only load templates for `markdown` filter once

* Clarify `markdown` filter documentation

This is a lightly edited version of what @southerntofu suggested.
2021-02-19 20:51:08 +01:00
..
config Don't panic for missing highlight theme (close #1299) (#1307) 2021-02-04 09:54:12 +01:00
errors move translation population and path collision checking to insert stage (#1272) 2021-01-05 21:39:25 +01:00
front_matter Force newline after front-matter 2021-02-02 21:53:37 +01:00
imageproc WebP support in resize_image (#1360) 2021-02-18 22:30:10 +01:00
library Force newline after front-matter 2021-02-02 21:53:37 +01:00
link_checker Update changelog + deps 2021-02-02 20:25:27 +01:00
rendering cargo fmt 2021-02-02 20:49:57 +01:00
search search: Update elasticlunr.min.js to 0.9.6 (#1260) (#1261) 2020-12-14 20:43:32 +01:00
site Make shortcodes work in markdown filter (#1358) 2021-02-19 20:51:08 +01:00
templates Make shortcodes work in markdown filter (#1358) 2021-02-19 20:51:08 +01:00
utils Update minify-html dependency to version 0.4.2 (#1340) 2021-02-06 16:41:10 +01:00