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 producing HTML that is not a part of the Markdown standard.
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 raw data and not processed during the conversion from Markdown to view elements.
toData( viewFragment ) → String