uwdata / living-papers

Authoring tools for scholarly communication. Create interactive web pages or formal research papers from markdown source.
BSD 3-Clause "New" or "Revised" License
127 stars 10 forks source link

Output namespaced components and properties. #70

Closed jheer closed 1 year ago

jheer commented 1 year ago

Examples:

::: latex:only
This content will be parsed as usual, but only included in latex output.
:::
::: { .latex:only }
Same as above. The `only` flag is just a class, so can be used in any fence or code block,
including as a class annotation for components such as `figure`, `equation`, etc.
:::
``` latex:only
Code block content passed to latex only.

![](img.png}{latex:width=80%} Provides an image size property for latex but not html output.



cc: @joshuahhh