The new support of markdown format is really great!
But we still have a HTML document with some (user-editable) fields that are either plain text or markdown.
It would be nice if we could select the format of these fields with a new CSS property "prince-content-format":
Example usage:
HTML:
CSS styles:
But we still have a HTML document with some (user-editable) fields that are either plain text or markdown.
It would be nice if we could select the format of these fields with a new CSS property "prince-content-format":
prince-content-format: text | markdownExample usage:
HTML:
<div class="markdown-block">
# My Markdown Section
This is **bold** text.
</div>
CSS styles:
div.markdown-block {
prince-content-format: markdown;
}
- - -
Johann
