markdown_widget icon indicating copy to clipboard operation
markdown_widget copied to clipboard

How do custom tags work with non HTML style tags?

Open SSebigo opened this issue 1 year ago • 3 comments

I want to integrate a widget to display maths/physics formulas with LaTeX, but I can't seem to make it detect the tag $formula$. Is there a special way to detect Markdown style tags?

SSebigo avatar Oct 06 '22 15:10 SSebigo

Now LaTex is not supported, perhaps you can try to use custom tag to resolve LaTex by yourself

image

asjqkkkk avatar Oct 06 '22 15:10 asjqkkkk

@asjqkkkk I am using it, the problem is that it requires HTML style, e.g. <tag data="">, but what I'm looking for is something like a base Markdown tagging, e.g. tagdatatag.

SSebigo avatar Oct 07 '22 07:10 SSebigo

Yes, I found out what the problem was. The text which has not been recognized will finally rendered as text tag I need to improve the structure of this library to support define more tags

asjqkkkk avatar Oct 07 '22 09:10 asjqkkkk

in markdown_widget 2.0.0+ that you can extend the package to support this feature by using the html_support

asjqkkkk avatar Jan 19 '23 07:01 asjqkkkk