ant-design/site/templates/code.html
2016-03-07 23:37:09 +08:00

15 lines
536 B
HTML

<div class="code-box" id="{{post.meta.id|removeCodeBoxIdPrefix}}">
<div class="code-box-demo">
<div id="{{post.meta.id}}"></div>
<script>mountNode = document.getElementById('{{post.meta.id}}');</script>
{{ post.html }}
</div>
<div class="code-box-meta markdown">
<div class="code-box-title">
<a href="#{{post.meta.id|removeCodeBoxIdPrefix}}">{{ post.title }}</a>
</div>
{{ post.meta.description }}
<span class="collapse anticon anticon-circle-o-right" unselectable="none"></span>
</div>
</div>