You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current options are:
markup:
pandoc:
filters:
- list
- of
- filters
extensions:
- list
- of
- extensions
extraArgs:
- --extra-arguments
- --one-per-line
Generalize some Pandoc options.
Support configuring a bibliography in markup config
Anonymous Update
[pandoc] Allow page parameters to override site parameters.
This allows specifying things like this in the page frontmatter:
---
title: Something
bibliography:
source: mybibliography.bib
pandoc:
filter:
- make-diagrams.lua
...
These options are local to the page. Specifying the same under `markup`
in the site configuration applies those settings to all pages.
Paths (filters, bibliography, citation style) are resolved relative to
the page, site, and the `static` folder.
[pandoc] Support metadata
Support specifying Pandoc metadata in the site configuration and page
configuration using the following syntax:
Site (in `config.yaml`):
```yaml
markup:
pandoc:
metadata:
link-citations: true
```
Or in frontmatter:
```yaml
---
pandoc:
metadata:
link-citations: true
...
```
[pandoc] Simplify path management.
No need for any fancy path lookup gymnastics. `pandoc`'s
`--resource-path` option does the legwork of locating resources on
multiple directories.
[pandoc] Don't use x != "" to denote failure.
0 commit comments