This data processor implementation uses GitHub Flavored Markdown as input/output data.
See the Markdown output guide to learn more on how to enable it.
HTML data processor used to process HTML produced by the Markdown-to-HTML converter and the other way.
constructor( document )
keepHtml( element )
Keeps the specified element in the output as HTML. This is useful if the editor contains features that produce HTML that are not part of the markdon standards.
By default, all HTML tags are removed.
element : String
The element name to be kept.
registerRawContentMatcher( pattern )
MatcherPatternfor view elements whose content should be treated as a raw data and not processed during conversion from Markdown to view elements.
toData( viewFragment ) → String