Back to Editor Md

Table of Contents

examples/html-preview-markdown-to-html-custom-toc-container.html

1.5.0908 B
Original Source

返回 Back

Table of Contents

#custom-toc-container

###Hello world!

###科学公式 TeX(KaTeX) $$E=mc^2$$ 行内的公式$$E=mc^2$$行内的公式,行内的$$E=mc^2$$公式。 $$(\sqrt{3x-1}+(1+x)^2)$$ $$\sin(\alpha)^{\theta}=\sum_{i=0}^{n}(x^i + \cos(f))$$ $$X^2 > Y$$ #####上标和下标 上标:X<sup>2</sup> 下标:O<sub>2</sub> ##### 代码块里包含的过滤标签及属性不会被过滤 html \<style type="text/style"\> body{background:red;} \</style\> \<script type="text/javscript"\> alert("script"); \</script\> \<iframe height=498 width=510 src="http://player.youku.com/embed/XMzA0MzIwMDgw" frameborder=0 allowfullscreen\>\</iframe\> #####Style <style> body{background:red;} </style> <style type="text/style"> body{background:red;} </style> #####Script <script> alert("script"); </script> <script type="text/javscript"> alert("script"); </script>