feat: better preview for math and mermaid
This commit is contained in:
parent
8dc8e9ff97
commit
2a6d9b31f8
9 changed files with 46 additions and 54 deletions
|
@ -34,6 +34,14 @@
|
|||
<a class="u-url" href="{{ .RelPermalink }}">{{ i18n "readMore" }}</a>
|
||||
</div>
|
||||
{{ end }}
|
||||
|
||||
{{ if .Store.Get "hasMermaid" }}
|
||||
{{ partial "mermaid_support.html" . }}
|
||||
{{ end }}
|
||||
|
||||
{{ if .Params.math }}
|
||||
{{ partial "mathjax_support.html" . }}
|
||||
{{ end }}
|
||||
|
||||
{{ partial "post-info.html" . }}
|
||||
</article>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue