react-katex icon indicating copy to clipboard operation
react-katex copied to clipboard

Automatic parsing of of text with latex delimiters

Open FernandoChu opened this issue 5 years ago • 1 comments

One missing feature that I'd love that is not built in into the original react-katex or katex itself is parsing text. This is normally achieved in katex by using the auto-render plugin. The structure I am thinking off is having a prop (e.g. parse) that you can pass to activate it, as well as some config to define which delimiters to use. There would be another file on the source folder (e.g. parse.ts) and it would be dynamically imported if the parse prop is true.

FernandoChu avatar Aug 27 '20 18:08 FernandoChu

Hi I would like to help but I haven't used this feature with this lib. Could you use react-markdown with custom renderer? (docs)

MatejBransky avatar Jan 19 '21 10:01 MatejBransky