Markdown

The markdown component allows to edit and display Markdown formatted text.

The item part markdown can be used in edit and read mode (display mode):

   <item name="invoice.summary" 
      type="custom" 
      path="markdown"
      label="Summary" />

In case readonly is set to true the component displays the content as HTML-

      <item type="custom" 
            path="spaceref"  
            label="Department:" 
            readonly="true" />

The component is based on the Marked Java Script Library.