Allow mathjax in code
This commit is contained in:
parent
201bd63e94
commit
30027c5f57
3 changed files with 73 additions and 69 deletions
|
|
@ -8,8 +8,12 @@
|
|||
<link rel="stylesheet" href="<%= @items['/stylesheets/colorful/'].path %>" title="colorful">
|
||||
<link rel="stylesheet" href="<%= @items['/stylesheets/fontello/'].path %>">
|
||||
|
||||
|
||||
<script type="text/x-mathjax-config">
|
||||
MathJax.Hub.Config({tex2jax: {inlineMath: [['«', '»']]}});
|
||||
MathJax.Hub.config.tex2jax.skipTags = ["script", "noscript", "style", "textarea", "annotation", "annotation-xml"];
|
||||
</script>
|
||||
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML" async></script>
|
||||
<script type="text/x-mathjax-config">MathJax.Hub.Config({tex2jax: {inlineMath: [['«', '»']]}});</script>
|
||||
|
||||
<meta name="generator" content="nanoc <%= Nanoc::VERSION %>">
|
||||
<meta http-equiv="Default-Style" content="colorful">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue