Module: markdown

Uses the underlying Blaze tools to
retrieve the Markdown and render it into
raw html, which then is attached
to the dom, once rendered.

Uses marked for parsing and rendering.
The component is very flexible in its configuration.
By default, it uses a custom BlazeUI Component
for most of the renderers.
This ensures the markdown renders the same
styles as the rest of your design system.

Changing the component styles will therefore
affect the Markdown output as well.

You can also override the renderers.

Source:
See:

Members

(static, constant) Blockquote :object

Blockquote component.

Type:
  • object
Source:

(static, constant) Markdown :object

Type:
  • object
Properties:
Name Type Description
dependencies function

returns a list of all dependencies that are to be registered
by BlazeUI.register in order to function properly

highlight function

replace with your custom highlight implementation

sanitize function

replace with your custom sanitizer implementation

config function

pass config options to marked.use

renderer object

contains renderer implementations for the given blocks/inline tokens

Source:

(static, constant) Paragraph :object

Block-level paragraph.

Type:
  • object
Source:

(static, constant) UnorderedList :object

    root element.
Type:
  • object
Source: