ecmarkup
ecmarkup copied to clipboard
Auto-escape JSX under code listing?
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.
Ok, this is related to https://github.com/tc39/ecmarkup/issues/84