Markdown achieve folding block

<details>
  <summary>折叠代码块</summary>
  <pre><code> 
     System.out.println("虽然可以折叠代码块");
     System.out.println("但是代码无法高亮");
  </code></pre>
</details>



effect:

Folding block
 
     System.out.println("虽然可以折叠代码块");
     System.out.println("但是代码无法高亮");
  



Reading

details: Folding tag syntax

summary: Abstract Syntax Folding show

pre: The original format text within an element that has been formatted text

code: Specifies block

Guess you like

Origin www.cnblogs.com/kai-/p/12151046.html