Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding ability to specify additional pandoc arguments in the frontmatter #213

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jvsteiner
Copy link

Hi, I made a request about this recently in issue #212 - it was super easy to do, so I went ahead and made a PR. Hope you like it.

@jvsteiner jvsteiner force-pushed the feat/additional-arguments branch from 64363c3 to d408587 Compare May 15, 2024 12:05
@jvsteiner jvsteiner force-pushed the feat/additional-arguments branch from 27b6f92 to 9976ed3 Compare May 15, 2024 12:07
@jvsteiner
Copy link
Author

it works like this, now you can add them into the note's frontmatter like so:

---
additional-pandoc-arguments:
  - --template eisvogel
  - --filter=scripts/filter.py
---

@jvsteiner
Copy link
Author

In case anyone is interested, here is some templates I use that show how I use this feature: https://github.com/jvsteiner/pandoc-obsidian-templates

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant