Markdown
The Markdown node is a highly optimized transformation engine that bridges the gap between raw text and web-ready HTML. It enables you to instantly parse GitHub-flavored Markdown into rich HTML formats for automated emails, or inversely extract clean, readable Markdown from messy scraped HTML pages, drastically reducing formatting friction in your automation pipelines.
What can you do with Markdown?
Bidirectional Transformation
Seamlessly convert rich Markdown syntax (including tables and task lists) into production-ready HTML, or reverse-engineer HTML back into pristine, structured Markdown text.
Zero-Allocation Performance
Built using enterprise-grade memory pooling and zero-copy string casting, allowing it to process massive multi-megabyte document payloads at blistering O(1) speeds without crashing.
Intelligent Auto-Mapping
Natively extracts text from dynamic JSON structures and injects the formatted output directly into a specified variable, preserving your downstream data arrays flawlessly.
Detailed Usage & Configuration
The Markdown node is the ultimate utility for text formatting, completely removing the need to write complex parsing scripts manually.
1. Markdown to HTML
Often, you will receive text from a database or a user input formatted as Markdown (e.g. # Title). You cannot send raw Markdown directly in an Email or push it to a CMS without it looking broken.
- Select Markdown to HTML.
- Point the node to your Markdown payload.
- The node utilizes an ultra-fast engine to compile the text into fully compliant HTML, automatically parsing GitHub-Flavored syntax like Tables and Checklists.
2. HTML to Markdown
If you're using the Web Crawler node to scrape an article, you often end up with a mess of <div> and <span> HTML tags. Passing this directly to an AI node (like ChatGPT) will consume massive token limits unnecessarily.
- Select HTML to Markdown.
- The node will intelligently strip away all structural HTML garbage, preserving only the semantic intent (Headers, Links, Bold text) into a perfectly clean, token-efficient Markdown string.
3. Built-in Safety (Fast Fail)
If the workflow dynamically feeds an empty string into the node, it intelligently detects the void and bypasses parsing entirely, immediately returning the original payload to save CPU cycles and prevent unexpected downstream Null reference crashes.
