Skip to content

Outputting custom HTML from a custom directive #316

Answered by jenshalm
noelwelsh asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, the AST node for passthrough content is RawContent, for example:

RawContent(NonEmptySet.one("html"), "<p>Hello</p>")

The node will simply be ignored for all output formats not contained in the format set.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@noelwelsh
Comment options

Answer selected by noelwelsh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants