Markdown Converter

Overview

Appian can render HTML with a!styledTextEditorField() but not Markdown, so this plugin helps create a properly formatted display for external tools that only return Markdown.

Key Features & Functionality

  • Function mdToHtml
    • Parameter markdown: The Markdown Text to convert
    • Parameter allowRawHtmlInMd: Whether raw HTML in the source Markdown should be allowed/kept. False by default. Only set this to true for trusted Markdown with expected/required HTML embedded.
  • As always, only trusted content should be displayed, and users of the plugin should sanitize any undesired Elements.
Anonymous