Preserve underline formatting when importing content through the Markdown API
What went wrong?
While developing Any2Any, an Anytype → Anytwo migration tool, we encountered a limitation when importing underlined text through Anytwo’s Markdown API.
Bold and italic formatting are correctly interpreted, but inline <u> tags outside tables appear as literal text instead of producing underlined text.
Example
Content sent through the Markdown API:
This is **bold**, *italic*, and <u>underlined</u>.
Expected: all three styles are rendered, including underline.
Actual: bold and italic render correctly, but <u>underlined</u> remains visible with its HTML tags.
Technical observations
An isolated test using the installed client’s parser showed that <u> outside a table remains literal text. Inside an HTML table cell, the same tag was correctly converted into underlined text. This suggests a difference between the Markdown and HTML-table import paths, rather than an inability of the editor to represent underline.
What should happen?
Please provide a supported way to preserve underline formatting through the API, either by:
- Recognizing inline
<u>…</u>tags during Markdown import and export. - Supporting and documenting a Markdown extension for underline.
- Providing a documented rich-text API alternative that preserves this formatting.
Ideally, underline should survive an API import → editor → API export round trip.
0 Comments
Sign in to comment
No comments yet. Be the first to share your thoughts.
