Skip to main content

Markdown

The Markdown node converts between Markdown and HTML formats.

Options

You can configure the node's output using Options. Click Add Option to view and select your options.

!!! note "Test out the options" Some of the options depend on each other, or can interact. We recommend testing out options to check the effects are what you want.

Markdown to HTML

OptionDescriptionDefault
Add Blank To LinksWhether to open links a new window (enabled) or not (disabled).Disabled
Automatic Linking To URLsWhether to automatically link to URLs (enabled) or not (disabled). If enabled, Robbot Automation converts any string that it identifies as a URL to a link.Disabled
Backslash Escapes HTML TagsWhether to allow backslash escaping of HTML tags (enabled) or not (disabled). When enabled, Robbot Automation escapes any < or > prefaced with \. For example, \<div\> renders as &lt;div&gt;.Disabled
Complete HTML DocumentWhether to output a complete HTML document (enabled) or an HTML fragment (disabled). A complete HTML document includes the <DOCTYPE HTML> declaration, <html> and <body> tags, and the <head> element.Disabled
Customized Header IDWhether to support custom heading IDs (enabled) or not (disabled). When enabled, you can add custom heading IDs using {header ID here} after the heading text.Disabled
Emoji SupportWhether to support emojis (enabled) or not (disabled).Disabled.
Encode EmailsWhether to transform ASCII character emails into their equivalent decimal entities (enabled) or not (disabled).Enabled
Exclude Trailing Punctuation From URLsWhether to exclude trailing punctuation from auto-linked URLs (enabled) or not (disabled). For use with Automatic Linking To URLs.Disabled
GitHub Code BlocksWhether to enable GitHub Flavored Markdown code blocks (enabled) or not (disabled).Enabled
GitHub Compatible Header IDsWhether to generate GitHub Flavored Markdown heading IDs (enabled) or not (disabled). GitHub Flavored Markdown generates heading IDs with - in place of spaces and removes non-alphanumeric characters.Disabled
GitHub Mention LinkChange the link used with GitHub Mentions.Disabled
GitHub MentionsWhether to support tagging GitHub users with @ (enabled) or not (disabled). When enabled, Robbot Automation replaces @name with https://github.com/name.Disabled
GitHub Task ListsWhether to support GitHub Flavored Markdown task lists (enabled) or not (disabled).Disabled
Header Level StartNumber. Set the start level for headers. For example, changing this field to 2 causes Robbot Automation to treat # as <h2>, ## as <h3>, and so on.1
Mandatory Space Before HeaderWhether to make a space between # and heading text required (enabled) or not (disabled). When enabled, Robbot Automation renders a heading written as ##Some header text literally (it does not turn it into a heading element)Disabled
Middle Word AsterisksWhether Robbot Automation should treat asterisks in words as Markdown (disabled) or render them as literal asterisks (enabled).Disabled
Middle Word UnderscoresWhether Robbot Automation should treat underscores in words as Markdown (disabled) or render them as literal underscores (enabled).Disabled
No Header IDDisable automatic generation of header IDs (enabled).Disabled
Parse Image DimensionsSupport setting maximum image dimensions in Markdown syntaxt (enabled).Disabled
Prefix Header IDDefine a prefix to add to header IDs.None
Raw Header IDWhether to remove spaces, ', and " from header IDs, including prefixes, replacing them with - (enabled) or not (disabled).Disabled
Raw Prefix Header IDWhether to prevent Robbot Automation from modifying header prefixes (enabled) or not (disabled)Disabled
Simple Line BreaksWhether to create line breaks without a double space at the end of a line (enabled) or not (disabled).Disabled
Smart Indentation FixWhether to try to smartly fix indentation problems related to ES6 template strings in indented code blocks (enabled) or not (disabled).Disabled
Spaces Indented SublistsWhether to remove the requirement to indent sublists four spaces (enabled) or not (disabled).Disabled
Split Adjacent BlockquotesWhether to split adjacent blockquote blocks (enabled) or not (disabled). If you don't enable this, Robbot Automation treats quotes (indicated by > at the start of the line) on separate lines as a single blockquote, even when separated by an empty line.Disabled
StrikethroughWhether to support strikethrough syntax (enabled) or not (disabled). When enabled, you can add a strikethrough effect using ~~ around the word or phrase.Disabled
Tables Header IDWhether to add an ID to table header tags (enabled) or not (disabled).Disabled
Tables SupportWhether to support tables (enabled) or not (disabled).Disabled

HTML to Markdown

OptionDescriptionDefault
Bullet MarkerSpecify the character to use for unordered lists.*
Code Block FenceSpecify the characters to use for code blocks.```
Emphasis DelimiterSpecify the character <em>._
Global Escape PatternOverrides the default character escape settings. You may want to use Text Replacement Pattern instead.None
Ignored ElementsIgnore given HTML elements, and their children.None
Keep Images With DataWhether to keep images with data (enabled) or not (disabled). Support files up to 1MB.Disabled
Line Start Escape PatternOverrides the default character escape settings. You may want to use Text Replacement Pattern instead.None
Max Consecutive New LinesNumber. Specify the maximum number of consecutive new lines allowed.3
Place URLs At The BottomWhether to place URLs at the bottom of the page and format using link reference definitions (enabled) or not (disabled).Disabled
Strong DelimiterSpecify the characters for <strong>.**
Style For Code BlockSpecify the styling for code blocks. Options are Fence and Indented.Fence
Text Replacement PatternDefine a text replacement pattern using regex.None
Treat As BlocksSpecify HTML elements to treat as blocks (surround with blank lines)None

Parsers

Robbot Automation uses the following parsers: