You could use both (kind of like how this editor works) and use the markdown_html/1 function in the HTML Sanitizer package.
You could use both (kind of like how this editor works) and use the markdown_html/1 function in the HTML Sanitizer package.