Skip to content

Commit

Permalink
test image & math rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
wyfcyx committed Jul 15, 2020
1 parent 1e853ab commit d80c54d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/auto-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ jobs:
hexo --version
npm install hexo-deployer-git --save
npm install https://github.com/CodeFalling/hexo-asset-image -- save
npm un hexo-renderer-marked --save
npm i hexo-renderer-pandoc --save
hexo clean
hexo generate
hexo deploy
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ timezone: ''
# URL
## If your site is put in a subdirectory, set url as 'http://yoursite.com/child' and root as '/child/'
url: http://rcore-os.github.io/blog
root: /blog/
root: /
permalink: :year/:month/:day/:title/
permalink_defaults:
pretty_urls:
Expand Down
2 changes: 1 addition & 1 deletion themes/next/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ math:

# hexo-renderer-pandoc (or hexo-renderer-kramed) required for full MathJax support.
mathjax:
enable: false
enable: true

# hexo-renderer-markdown-it-plus (or hexo-renderer-markdown-it with markdown-it-katex plugin) required for full Katex support.
katex:
Expand Down

0 comments on commit d80c54d

Please sign in to comment.