fix(v2): allow using pre tag in Markdown directly (#4428)

This commit is contained in:
Alexey Pyltsyn 2021-03-15 18:42:24 +03:00 committed by GitHub
parent 07ec381426
commit ae1547c5c8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 20 additions and 3 deletions

View file

@ -188,4 +188,15 @@ function Clock(props) {
<code>test</code>
## direct using of `pre`
<pre>test</pre>
<!-- Multi-line text inside `pre` will turn into one-liner, but it's okay (https://github.com/mdx-js/mdx/issues/1095) -->
<pre>
1
2
3
</pre>
## Custom heading id {#custom}