mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-19 20:17:06 +02:00
fix(v2): render escaped HTML entities inside code properly (#4598)
This commit is contained in:
parent
7c56f816c6
commit
6b0df65786
2 changed files with 40 additions and 7 deletions
|
@ -200,3 +200,25 @@ function Clock(props) {
|
|||
</pre>
|
||||
|
||||
## Custom heading id {#custom}
|
||||
|
||||
## Children elements inside pre/code elements
|
||||
|
||||
See https://github.com/facebook/docusaurus/pull/1584
|
||||
|
||||
<pre><code>
|
||||
<BrowserWindow url="http://localhost:3000" >
|
||||
Lol bro
|
||||
</BrowserWindow>
|
||||
</code></pre>
|
||||
|
||||
<code>
|
||||
<BrowserWindow url="http://localhost:3000" >
|
||||
Lol bro
|
||||
</BrowserWindow>
|
||||
</code>
|
||||
|
||||
## Pipe
|
||||
|
||||
Code tag + double pipe: <code>||</code>
|
||||
|
||||
Code tag + double pipe: <code>||</code>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue