Folding unwind code markdown

background

Sometimes, too much of our code, the direct use cout<<"hello";very convenient.
We can code folding.

effect

20190508215442216.gif

Code

Common code folding
<details>
<summary>展开查看代码</summary>
<pre><code>
System.out.println("Hello to see U!");
</code></pre>
</details>
html code folding
<details>
<summary>展开查看</summary>
<xmp>
<h1>hello</h1>
<h2>hello</h2>
</xmp>
</details>

prompt

csdn of markdown parser seems to write your own, do not support this form. CSDN hope can solve this problem.

Published 109 original articles · won praise 51 · views 90000 +

Guess you like

Origin blog.csdn.net/NetRookieX/article/details/104410739