Skip to content

Commit

Permalink
feat: 将全文搜索的功能加回来
Browse files Browse the repository at this point in the history
  • Loading branch information
rxliuli committed Nov 10, 2024
1 parent 0e95744 commit eb02ff9
Show file tree
Hide file tree
Showing 3 changed files with 998 additions and 829 deletions.
2 changes: 2 additions & 0 deletions mark-magic.config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ tasks:
twitter:
site: 'rxliuli'
image: 'https://tts.liuli.moe/cover.png'
search:
enabled: true
- name: 第一卷-量子纠缠
input:
name: '@mark-magic/plugin-local'
Expand Down
13 changes: 7 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,16 @@
"build": "mark-magic && jszip-cli add dist/epub -o dist/books.zip -f",
"build-docs": "mark-magic --task docs",
"deploy": "gh-pages -d ./dist/docs --dotfiles",
"preview": "live-server dist/docs"
"preview": "mark-magic --task docs && live-server dist/docs"
},
"devDependencies": {
"@ffflorian/jszip-cli": "^3.6.5",
"@mark-magic/cli": "^0.14.1",
"@mark-magic/plugin-docs": "^0.15.0",
"@ffflorian/jszip-cli": "^3.7.3",
"@mark-magic/cli": "^0.14.2",
"@mark-magic/plugin-docs": "^0.17.0",
"@mark-magic/plugin-epub": "^0.13.0",
"@mark-magic/plugin-local": "^0.14.0",
"gh-pages": "^6.1.1",
"live-server": "^1.2.2"
"gh-pages": "^6.2.0",
"live-server": "^1.2.2",
"pagefind": "^1.2.0"
}
}
Loading

0 comments on commit eb02ff9

Please sign in to comment.