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

[FR] Enable scripting in frontmatter customization #36

Open
rbennett0000 opened this issue Apr 6, 2023 · 1 comment
Open

[FR] Enable scripting in frontmatter customization #36

rbennett0000 opened this issue Apr 6, 2023 · 1 comment

Comments

@rbennett0000
Copy link

I would like to have different frontmatter metadata depending on the source type (book, article, podcast, etc.). The other customization options support scripting (e.g., {if category=="book"}), would like the same capability extended to frontmatter customization.

I could probably accomplish it using inline fields but then it will be inconsistent with my existing templates.

@writtenfool
Copy link

Can you provide a bit more context?

Given the YAML front matter section in the template (at the bottom), we should be able to do this with document notes or tags on the Readwise / Reader side before exporting into Obsidian.

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

No branches or pull requests

2 participants