[flutter_markdown_plus] custom rendering of tags that can contain nested markdown

Requirement: I want to render markdown that contains underline text. I am using ‘ins’ tag for underline text.
For example,
Input: <ins>hello world</ins>
Output: hello world

flutter_markdown_plus doesn’t support underline text.
I have tried using custom inline syntax and custom builder to handle rendering of underline text in markdown.
But it doesn’t handle nesting.
For example,
Input: <ins>**hello world**</ins>
Expected output: hello world
Actual output: hello world

Is it even possible to render custom tags with nested markdown using flutter_markdown_plus library?
If yes then please provide a solution.

Its using the markdown package for parsing right?

I’ve recently written a custom syntax extension for it for jaspr_content, maybe you can use it: jaspr/packages/jaspr_content/lib/src/page_parser/markdown_parser.dart at main · schultek/jaspr · GitHub

1 Like

Yes it uses markdown pkg for parsing.
I will check your code.

Hi @schultek , i reviewed your code that you’ve linked. It contains the parsing logic.
I also got some success with parsing in my case, rendering of the nodes is where i am stuck.
Could you provide the link to your code where you’ve converted the list of nodes to list of flutter widgets.