bitcrowd / mdast-util-from-adf

Convert from Atlassian Document Format to Markdown Abstract Syntax Tree
MIT License
11 stars 1 forks source link

Support more node types, handle unknown ones more gracefully #5

Closed pmeinhardt closed 3 years ago

pmeinhardt commented 3 years ago

After checking the conversion on some "real-life" examples taken from one of our Jira projects, I saw that a few of the unsupported node types are actually rather common (e.g. mediaSingle, panel…).

To make this package more useful we should support those.

Also, we should possibly think about a different way of handling unknown node types – not raising an assertion error.