1
0
mirror of https://github.com/lxsang/antd-web-apps synced 2024-11-20 02:18:20 +01:00

support math in blogger

This commit is contained in:
Xuan Sang LE 2018-04-12 23:17:19 +02:00
parent 2570d802b3
commit f32ccc8766
62 changed files with 10 additions and 3 deletions

View File

@ -21,20 +21,24 @@
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="rst/ubuntu-regular.css" /> <link rel="stylesheet" type="text/css" href="rst/ubuntu-regular.css" />
<link rel="stylesheet" type="text/css" href="rst/font-awesome.css" /> <link rel="stylesheet" type="text/css" href="rst/font-awesome.css" />
<link rel="stylesheet" type="text/css" href="rst/hljs/github.css" />
<link rel="stylesheet" type="text/css" href="assets/style.css" /> <link rel="stylesheet" type="text/css" href="assets/style.css" />
<script src="rst/gscripts/jquery-3.2.1.min.js"> </script>
<script src="rst/gscripts/riot.min.js"> </script> <script src="rst/gscripts/riot.min.js"> </script>
<script src="rst/resources/antos_tags.js"></script> <script src="rst/resources/antos_tags.js"></script>
<script src="rst/gscripts/jquery-3.2.1.min.js"> </script>
<script src="rst/main.js"></script> <script src="rst/main.js"></script>
<?lua if render then ?> <?lua if render then ?>
<link rel="stylesheet" type="text/css" href="rst/hljs/github.css" />
<link rel="stylesheet" type="text/css" href="rst/katex/katex.min.css" />
<script src="rst/hljs/highlight.pack.js"> </script> <script src="rst/hljs/highlight.pack.js"> </script>
<script src="rst/hljs/highlightjs-line-numbers.min.js"> </script> <script src="rst/hljs/highlightjs-line-numbers.min.js"> </script>
<script src="rst/katex/katex.min.js"> </script>
<script src="rst/katex/auto-render.min.js"> </script>
<?lua end ?> <?lua end ?>
<script> <script>
<?lua if render then ?> <?lua if render then ?>
$(document).ready(function() { $(document).ready(function() {
renderMathInElement($("#container")[0]);
$('pre code').each(function(i, block) { $('pre code').each(function(i, block) {
hljs.highlightBlock(block); hljs.highlightBlock(block);
hljs.lineNumbersBlock(block); hljs.lineNumbersBlock(block);

View File

@ -1,6 +1,6 @@
BUILDDIR = ../build/grs BUILDDIR = ../build/grs
copyfiles = font-awesome.css fonts images sendmail.lua main.js ubuntu-regular.css mainsite.css sendto.html hermit-light.css hljs copyfiles = katex font-awesome.css fonts images sendmail.lua main.js ubuntu-regular.css mainsite.css sendto.html hermit-light.css hljs
main: main:
- mkdir $(BUILDDIR) - mkdir $(BUILDDIR)

1
grs/katex/auto-render.min.js vendored Normal file

File diff suppressed because one or more lines are too long

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

1
grs/katex/katex.min.css vendored Normal file

File diff suppressed because one or more lines are too long

1
grs/katex/katex.min.js vendored Normal file

File diff suppressed because one or more lines are too long