Skip to content

Commit

Permalink
添加mathjs
Browse files Browse the repository at this point in the history
  • Loading branch information
handsondad committed Jan 9, 2025
1 parent 0b4c609 commit 1f2c72f
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 31 deletions.
2 changes: 2 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,8 @@ incremental: false
# Markdown Processing
kramdown:
input: GFM
math_engine: mathjax
syntax_highlighter: rouge
hard_wrap: false
auto_ids: true
footnote_nr: 1
Expand Down
9 changes: 9 additions & 0 deletions _includes/head/custom.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<!-- start custom head snippets -->

<script type="text/javascript" async
src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.7/MathJax.js?config=TeX-MML-AM_CHTML">
</script>

<!-- insert favicons. use https://realfavicongenerator.net/ -->

<!-- end custom head snippets -->
31 changes: 0 additions & 31 deletions _includes/page__meta.html

This file was deleted.

File renamed without changes.

0 comments on commit 1f2c72f

Please sign in to comment.