先引入这两个文件
<link rel="stylesheet" href="css/prism.css">
<script src="js/prism.js"></script>
此时创建pre和code就可以了
<pre class="line-numbers">
<code class="language-markup">
<pre class="line-numbers">
<code class="language-markup">
<style>
.div{ width : 100px }
</style>
</code>
</pre>