ecmarkup icon indicating copy to clipboard operation
ecmarkup copied to clipboard

Auto-escape JSX under code listing?

Open Huxpro opened this issue 2 years ago • 1 comments

Have we consider automatically escaping JSX under <pre><code>...</code></pre> or providing an emu-code with a similar functionality?

It will benefit proposals writing sample code with JSX such as do-expressions, pattern matching. I'm even thinking of using ecmarkup for the facebook/jsx github page itself.

Currently, one would have to manually convert them to HTML entities, which are not very convenient to read or edit it.

Huxpro avatar Feb 22 '22 19:02 Huxpro

Ok, this is related to https://github.com/tc39/ecmarkup/issues/84

Huxpro avatar Feb 23 '22 00:02 Huxpro