Markdown
core.markdown · version 1 · Transform
Convert between Markdown and HTML.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| input 0 | main | |||
| output 0 | main |
Credentials
This node uses no credentials.
Parameters
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
mode | options | "htmlToMarkdown" | One of markdownToHtml, htmlToMarkdown. | ||
markdown | string | "" | mode = markdownToHtml | ||
html | string | "" | mode = htmlToMarkdown | HTML. | |
destinationKey | string | "data" | Output field. | ||
options | collection | {} | |||
options.tables | boolean | false | |||
options.strikethrough | boolean | false | |||
options.tasklists | boolean | false | Task lists. | ||
options.noHeaderId | boolean | false | No heading ids. | ||
options.ghCompatibleHeaderId | boolean | false | GitHub-style heading ids. | ||
options.prefixHeaderId | string | "" | Heading id prefix. | ||
options.headerLevelStart | number | 1 | First heading level. | ||
options.openLinksInNewWindow | boolean | false | Open links in a new window. | ||
options.simpleLineBreaks | boolean | false | Line breaks as <br>. | ||
options.simplifiedAutoLink | boolean | false | Link bare URLs. | ||
options.completeHTMLDocument | boolean | false | Full HTML document. | ||
options.bulletMarker | string | "*" | Bullet marker. | ||
options.codeFence | string | "```" | Code fence. | ||
options.emDelimiter | string | "_" | Emphasis delimiter. | ||
options.strongDelimiter | string | "**" | Strong delimiter. | ||
options.ignore | string | "" | Elements to skip. | ||
options.keepDataImages | boolean | false | Keep data: images. | ||
options.maxConsecutiveNewlines | number | 3 | Max consecutive newlines. | ||
options.useInlineLinks | boolean | true | Inline links. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
n8n-nodes-base.markdown | 1 | unverified |