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

Add quarto markdown processing option #255

Open
hughjonesd opened this issue Jun 19, 2024 · 0 comments
Open

Add quarto markdown processing option #255

hughjonesd opened this issue Jun 19, 2024 · 0 comments

Comments

@hughjonesd
Copy link
Owner

Quarto lets you use \QuartoMarkdownBase64{content} and <span data-qmd-base64="content" to include markdown in HTML and TeX. This will then be processed by the quarto engine. (You need to call base64enc::base64encode(charToRaw("content")) on the content.)

We could add this as an argument to set_markdown_contents(); and/or as a global option for markdown cells. This would then enable cool stuff like @citation, footnotes and references.

We're already using this to process captions, but this is more as a workaround for a bug in quarto 1.5 where labels get deleted; see #254 and the linked quarto reference. The base-64 encoded LaTeX is presumably interpreted as "latex within markdown".

@hughjonesd hughjonesd changed the title Add quarto processing option Add quarto markdown processing option Jun 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant