adf-to-md
v1.2.1
Published
Converter to turn Atlassian Document Format (ADF) objects into Markdown
Downloads
15,595
Readme
ADF to Markdown converter
Building off the work from md-to-adf
, this module does the opposite, taking an object in Atlassian Document Format, and outputting Markdown.
⚠️⚠️ BEWARE ⚠️⚠️
ADF is a superset of Markdown. It contains more functionality than Markdown can capture. Any unsupported elements (e.g. mentions, panels, etc.) will simply be discarded.
Usage
const adf2md = require('adf-to-md');
// const adfObject = ...
const markdown = adf2md(adfObject);