mirror of
https://github.com/nwchemgit/nwchem.git
synced 2026-07-28 14:15:30 -04:00
new math rendering on web
This commit is contained in:
parent
3bc29f291d
commit
625f1d7729
3 changed files with 23 additions and 1 deletions
2
contrib/mkdocs/mathfiles.txt
Normal file
2
contrib/mkdocs/mathfiles.txt
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
index.md
|
||||
Density-Functional-Theory-for-Molecules.md
|
||||
|
|
@ -8,7 +8,20 @@ theme:
|
|||
use_directory_urls: false
|
||||
markdown_extensions:
|
||||
- smarty
|
||||
- toc
|
||||
- toc:
|
||||
permalink: True
|
||||
- tables
|
||||
# - markdown_katex:
|
||||
# no_inline_svg: True
|
||||
# insert_fonts_css: True
|
||||
# macro-file: macros.tex
|
||||
# - pymdownx.arithmatex
|
||||
#extra_javascript:
|
||||
# - 'https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-MML-AM_CHTML'
|
||||
- mdx_math:
|
||||
extra_javascript:
|
||||
- https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML
|
||||
- mathjaxhelper.js
|
||||
plugins:
|
||||
- search
|
||||
- alternate-link
|
||||
|
|
|
|||
7
contrib/mkdocs/remove_svg.sh
Executable file
7
contrib/mkdocs/remove_svg.sh
Executable file
|
|
@ -0,0 +1,7 @@
|
|||
#!/bin/bash
|
||||
gsed \
|
||||
-e 's/<img alt=\"\$\$/\$\$/' \
|
||||
-e 's/<img alt=\"\\(/\\(/' \
|
||||
-e 's/\" src=\"https:\/\/raw.githubusercontent.com\/wiki\/nwchemgit\/nwchem\/svgs.*//' \
|
||||
-e 's/\" src=\"svgs.*//' \
|
||||
$1
|
||||
Loading…
Add table
Add a link
Reference in a new issue