File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -15,18 +15,25 @@ jobs:
1515 group : ${{ github.workflow }}-${{ github.ref }}
1616 steps :
171718- - uses : drmingdrmer/mdbook-full@main
1918
2019 - name : Setup mdBook
21202221 with :
2322 mdbook-version : " latest"
2423
2524 # 使用katex,以支持常规的$行内公式$
25+ - name : Install mdbook-katex
26+ run : |
27+ curl -Lo mdbook-katex.tar.gz https://github.com/lzanini/mdbook-katex/releases/download/v0.5.7/mdbook-katex-v0.5.7-x86_64-unknown-linux-gnu.tar.gz
28+ tar xzf mdbook-katex.tar.gz
29+ mv mdbook-katex /home/runner/toolbin/mdbook-katex
30+
2631 # - name: Setup mdbook-katex
273228- # with:
29- # version: "latest"
33+ # run: |
34+ # curl -L -o mdbook-katex.tar.gz https://github.com/huhu/md
35+ # # with:
36+ # # version: "latest"
3037
3138 - run : mdbook build
3239
You can’t perform that action at this time.
0 commit comments