Skip to content

Commit 264cb76

Browse files
committed
docs: link to official Jinja2 extensions
1 parent 7c0d13e commit 264cb76

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ At least `documents` has to be specified.
3838
| `directories.images` | string | `"images"` | Location of image files. |
3939
| `directories.pages` | string | `"pages"` | Location of page configurations. |
4040
| `directories.templates` | string | `"templates"` | Location of SVG template files. |
41-
| `jinja2_extensions` | array | `[]` | jinja2_extensions (like `jinja2.ext.do`) to load and use in templates. |
41+
| `jinja2_extensions` | array | `[]` | [Jinja2 extensions](https://jinja.palletsprojects.com/en/stable/extensions/) (like `jinja2.ext.do`) to load and use in templates. |
4242
| `template_renderers` | array | `["render_highlight"]` | List of automatically applied renderers. `render_highlight` is currently the only available one and enabled by default. It will replace `<highlight>...</highlight>` with `<tspan>` using the colour `style.color` to let you highlight words inside YAML text. |
4343
| `template_filters` | array | `["wordwrap"]` | List of filters made available to templates. `wordwrap` is currently the only available filter. It splits text into lines so that full words have to fit within the specified total number of character for example `{% set desc_lines = item.desc \| wordwrap(40) %}`. |
4444
| `svg2pdf_backend` | string | `"cairosvg"` | Backend to use for SVG to PDF conversion. `"cairosvg"` is built-in, the alternative `"inkscape"` requires Inkscape to be installed |

0 commit comments

Comments
 (0)