zola/docs/content/documentation
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
..
content WebP support in resize_image (#1360) 2021-02-18 22:30:10 +01:00
deployment Get zola from alpine community repository (#1251) 2020-12-06 21:43:23 +01:00
getting-started Include "markdown" in list of config.toml sections (#1290) 2021-01-07 10:49:17 +01:00
templates Make shortcodes work in markdown filter (#1358) 2021-02-19 20:51:08 +01:00
themes Merge pull request #1038 from getzola/next 2020-09-04 23:42:30 +02:00
_index.md Update _index.md 2018-03-22 15:47:34 -06:00