Markwon icon indicating copy to clipboard operation
Markwon copied to clipboard

How can I add custom attribute on an existing HTML tag?

Open hakobyan1221 opened this issue 3 years ago • 1 comments

  • Markwon version: {4.6.2}
  1. I want to add a custom attribute on existing HTML tag e.g. I want to parse this <h1 style = "color:#FFFFFF;">This is colored header<h1>
  2. When attribute is handled in custom tag handler header is not shown correctly because tag handler has been overridden.

hakobyan1221 avatar Nov 10 '21 12:11 hakobyan1221

Hello @hakobyan1221 ,

unfortunately you would need to provide the whole tag handler in order to parse additional attributes

noties avatar Dec 06 '21 11:12 noties