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

Parameterized include #30

Open
bersace opened this issue Dec 15, 2022 · 2 comments
Open

Parameterized include #30

bersace opened this issue Dec 15, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@bersace
Copy link

bersace commented Dec 15, 2022

Hi,

Is it possible to parameterize include ?

Our use case is to include a customized code block.

Maybe is there a workaround ?

Regards,
Étienne

@DCsunset
Copy link
Owner

Hi,

Could you give some example code to clarify what you mean by parameterizing include?

@bersace
Copy link
Author

bersace commented Dec 15, 2022

Hi @DCsunset, thanks for your anwser and for pandoc-include.

Something like:

---
metadata-variable: myfile.md
...

!include-from-metadata metadata-variable

@DCsunset DCsunset added the enhancement New feature or request label Dec 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants