-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 33cfbbc
Showing
58 changed files
with
4,499 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
name: Create Release on Tag Push | ||
|
||
on: | ||
push: | ||
tags: | ||
- "v*" | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
# Checkout | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
# Install Node.js | ||
- name: Install Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18 | ||
registry-url: "https://registry.npmjs.org" | ||
|
||
# Install pnpm | ||
- name: Install pnpm | ||
uses: pnpm/action-setup@v2 | ||
id: pnpm-install | ||
with: | ||
version: 8 | ||
run_install: false | ||
|
||
# Get pnpm store directory | ||
- name: Get pnpm store directory | ||
id: pnpm-cache | ||
shell: bash | ||
run: | | ||
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT | ||
# Setup pnpm cache | ||
- name: Setup pnpm cache | ||
uses: actions/cache@v3 | ||
with: | ||
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }} | ||
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} | ||
restore-keys: | | ||
${{ runner.os }}-pnpm-store- | ||
# Install dependencies | ||
- name: Install dependencies | ||
run: pnpm install | ||
|
||
# Build for production, 这一步会生成一个 package.zip | ||
- name: Build for production | ||
run: pnpm build | ||
|
||
- name: Release | ||
uses: ncipollo/release-action@v1 | ||
with: | ||
allowUpdates: true | ||
artifactErrorsFailBuild: true | ||
artifacts: "package.zip" | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
prerelease: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
.idea | ||
.vscode | ||
.DS_Store | ||
pnpm-lock.yaml | ||
package-lock.json | ||
package.zip | ||
node_modules | ||
dev | ||
dist | ||
build | ||
tmp |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2023 SiYuan 思源笔记 | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
个人使用,部分功能可能有数据或性能问题,支持反馈bug。 | ||
有喜欢的功能,可以自行抽离该功能进行发布插件。 | ||
|
||
## 支持的功能 | ||
|
||
* 引用块样式 | ||
* 代码块增强 | ||
* 代码块快捷命名 | ||
* 限制代码块高度 | ||
* 调整代码块高度 | ||
* 代码块常用语言 | ||
* 文档树 | ||
* 通过关键字过滤笔记本 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
个人使用,部分功能可能有数据或性能问题,支持反馈bug。 | ||
有喜欢的功能,可以自行抽离该功能进行发布插件。 | ||
|
||
## 支持的功能 | ||
|
||
* 引用块样式 | ||
* 代码块增强 | ||
* 代码块快捷命名 | ||
* 限制代码块高度 | ||
* 调整代码块高度 | ||
* 代码块常用语言 | ||
* 文档树 | ||
* 通过关键字过滤笔记本 | ||
|
||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"name": "syplugin-misuzu-custom", | ||
"version": "0.0.1", | ||
"type": "module", | ||
"description": "SiYuan Note Plugin: Misuzu2027 Personal Use", | ||
"repository": "https://github.com/Misuzu2027/syplugin-misuzu-custom", | ||
"homepage": "https://github.com/Misuzu2027/syplugin-misuzu-custom", | ||
"author": "Misuzu2027", | ||
"license": "MIT", | ||
"scripts": { | ||
"make-link": "node --no-warnings ./scripts/make_dev_link.js", | ||
"dev": "vite build --watch", | ||
"build": "vite build", | ||
"make-install": "vite build && node --no-warnings ./scripts/make_install.js" | ||
}, | ||
"devDependencies": { | ||
"@sveltejs/vite-plugin-svelte": "^3.0.0", | ||
"@tsconfig/svelte": "^4.0.1", | ||
"@types/node": "^20.3.0", | ||
"fast-glob": "^3.2.12", | ||
"glob": "^7.2.3", | ||
"js-yaml": "^4.1.0", | ||
"minimist": "^1.2.8", | ||
"rollup-plugin-livereload": "^2.0.5", | ||
"sass": "^1.63.3", | ||
"siyuan": "0.9.9", | ||
"svelte": "^4.2.0", | ||
"ts-node": "^10.9.1", | ||
"typescript": "^5.1.3", | ||
"vite": "^5.0.0", | ||
"vite-plugin-static-copy": "^1.0.2", | ||
"vite-plugin-zip-pack": "^1.0.5" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"name": "syplugin-misuzu-custom", | ||
"author": "Misuzu2027", | ||
"url": "https://github.com/Misuzu2027/syplugin-misuzu-custom", | ||
"version": "0.0.1", | ||
"minAppVersion": "3.0.14", | ||
"backends": [ | ||
"all" | ||
], | ||
"frontends": [ | ||
"all" | ||
], | ||
"displayName": { | ||
"en_US": "Misuzu", | ||
"zh_CN": "Misuzu" | ||
}, | ||
"description": { | ||
"en_US": "个人使用插件", | ||
"zh_CN": "个人使用插件" | ||
}, | ||
"readme": { | ||
"en_US": "README.md", | ||
"zh_CN": "README_zh_CN.md" | ||
}, | ||
"keywords": [ | ||
|
||
] | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
{ | ||
"openDocumentSearchTab": "Open Document-based Search Tab", | ||
"table": "Table", | ||
"mathBlock": "Formula block", | ||
"quoteBlock": "Blockquote", | ||
"superBlock": "Super block", | ||
"paragraph": "Paragraph", | ||
"doc": "Doc", | ||
"headings": "Headings", | ||
"list": "List", | ||
"listItem": "List item", | ||
"codeBlock": "Code block", | ||
"htmlBlock": "HTML block", | ||
"embedBlock": "Embed block", | ||
"database": "Database", | ||
"video": "Video", | ||
"audio": "Audio", | ||
"IFrame": "IFrame", | ||
"widget": "Widget", | ||
"name": "Name", | ||
"alias": "Alias", | ||
"memo": "Memo", | ||
"allAttrs": "All attribute names and attribute values", | ||
"sortByRankASC": "Relevance ASC", | ||
"sortByRankDESC": "Relevance DESC", | ||
"modifiedASC": "Modified Time ASC", | ||
"modifiedDESC": "Modified Time DESC", | ||
"createdASC": "Created Time ASC", | ||
"createdDESC": "Created Time DESC", | ||
"type": "Type", | ||
"sortByContent": "Original content order", | ||
"sortByTypeAndContent": "Type And Original content order", | ||
"show": "Show", | ||
"hide": "Hide", | ||
"refCountASC": "Ref Count ASC", | ||
"refCountDESC": "Ref Count DESC", | ||
"fileNameASC": "Name Alphabet ASC", | ||
"fileNameDESC": "Name Alphabet DESC", | ||
"fileNameNatASC": "Name Natural ASC", | ||
"fileNameNatDESC": "Name Natural DESC", | ||
"notebook": "Notebook", | ||
"path": "Path", | ||
"sort": "Sort", | ||
"clear": "Clear", | ||
"refresh": "Refresh", | ||
"reference": "Ref", | ||
"documentBasedSearch": "Document-based Search", | ||
"flatDocumentTree": "Flat Document Tree", | ||
"documentBasedSearchDock": "Document-based Search Dock", | ||
"flatDocumentTreeDock": "Flat Document Tree Dock", | ||
"previousLabel": "Previous", | ||
"nextLabel": "Next", | ||
"findInBacklink": "Found ${x} backlink blocks", | ||
"notebookFilter": "Notebook Filter", | ||
"attr": "Attribute", | ||
"other": "Other", | ||
"expand": "Expand", | ||
"collapse": "Collapse", | ||
"noContentBelow": "No content matching the criteria exists below", | ||
"dockModifyTips": "Note: Modifying Dock will refresh the interface.", | ||
"settingDock": "🌈 Dock Settings", | ||
"settingNotebookFilter": "🌈 Notebook Filter", | ||
"settingType": "🌈 Type", | ||
"settingAttr": "🌈 Attribute", | ||
"settingOther": "🌈 Other", | ||
"docSortMethod": "Document Sorting Method", | ||
"contentBlockSortMethod": "Content Block Sorting Method", | ||
"documentsPerPage": "Documents Per Page", | ||
"blockCountBehaviorTips": "If the number of blocks in the query result is less than the current value, all documents will be expanded by default; otherwise, all documents will be collapsed by default.", | ||
"defaultExpansionCount": "Default Expansion Count", | ||
"alwaysExpandSingleDoc": "Always Expand Single Document", | ||
"displayDocBlock": "Display Document Blocks", | ||
"doubleClickTimeThreshold": "Double Click Time Threshold (Milliseconds)", | ||
"previewRefreshHighlightDelayTips": "For code blocks, databases, and other blocks that require time to render, too short a delay may fail. Set to 0 if not needed.", | ||
"previewRefreshHighlightDelay": "Preview Refresh Highlight Delay (Milliseconds)", | ||
"settingHub": "Settings Hub", | ||
"switchCurrentDocumentSearchFailureMessage": "Document Search Plugin: Failed to retrieve the opened document. You can switch tabs or reopen the document.", | ||
"swapDocumentItemClickLogic": "Swap Document Item Click Logic", | ||
"swapDocumentItemClickLogicTips": "When disabled, click to expand search results and double-click to open the document; when enabled, click to open the document and double-click to expand search results.", | ||
"allNotebooks": "All Notebooks", | ||
"specifyNotebook": "Specify Notebook", | ||
"searchInTheCurrentDocument": "Search in the current document" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
{ | ||
"openDocumentSearchTab": "打开搜索页签", | ||
"table": "表格", | ||
"mathBlock": "公式块", | ||
"quoteBlock": "引述块", | ||
"superBlock": "超级块", | ||
"paragraph": "段落", | ||
"doc": "文档", | ||
"headings": "标题", | ||
"list": "列表", | ||
"listItem": "列表项", | ||
"codeBlock": "代码块", | ||
"htmlBlock": "HTML 块", | ||
"embedBlock": "嵌入块", | ||
"database": "数据库", | ||
"video": "视频", | ||
"audio": "音频", | ||
"IFrame": "IFrame", | ||
"widget": "挂件", | ||
"name": "name", | ||
"alias": "别名", | ||
"memo": "备注", | ||
"allAttrs": "所有属性名和属性值", | ||
"sortByRankASC": "按相关度升序", | ||
"sortByRankDESC": "按相关度降序", | ||
"modifiedASC": "修改时间升序", | ||
"modifiedDESC": "修改时间降序", | ||
"createdASC": "创建时间升序", | ||
"createdDESC": "创建时间降序", | ||
"type": "类型", | ||
"sortByContent": "按原文内容顺序", | ||
"sortByTypeAndContent": "类型和原文内容顺序", | ||
"show": "显示", | ||
"hide": "隐藏", | ||
"refCountASC": "引用数升序", | ||
"refCountDESC": "引用数降序", | ||
"fileNameASC": "名称字母升序", | ||
"fileNameDESC": "名称字母降序", | ||
"fileNameNatASC": "名称自然升序", | ||
"fileNameNatDESC": "名称自然降序", | ||
"notebook": "笔记本", | ||
"path": "路径", | ||
"sort": "排序", | ||
"clear": "清空", | ||
"refresh": "刷新", | ||
"reference": "引用", | ||
"documentBasedSearch": "基于文档搜索", | ||
"flatDocumentTree": "扁平化文档树", | ||
"documentBasedSearchDock": "基于文档搜索 Dock", | ||
"flatDocumentTreeDock": "扁平化文档树 Dock", | ||
"previousLabel": "上一页", | ||
"nextLabel": "下一页", | ||
"findInBacklink": "共 ${x} 个反链块", | ||
"notebookFilter": "笔记本过滤", | ||
"attr": "属性", | ||
"other": "其他", | ||
"expand": "展开", | ||
"collapse": "折叠", | ||
"noContentBelow": "下不存在符合条件的内容", | ||
"dockModifyTips": "注:修改 Dock 会刷新界面。", | ||
"settingDock": "🌈 Dock 设置", | ||
"settingNotebookFilter": "🌈 笔记本过滤", | ||
"settingType": "🌈 类型", | ||
"settingAttr": "🌈 属性", | ||
"settingOther": "🌈 其他", | ||
"docSortMethod": "文档排序方式", | ||
"contentBlockSortMethod": "内容块排序方式", | ||
"documentsPerPage": "每页文档数量", | ||
"blockCountBehaviorTips": "如果查询结果的块数量小于当前值,默认展开全部文档;反之会默认折叠全部文档。", | ||
"defaultExpansionCount": "默认展开数", | ||
"alwaysExpandSingleDoc": "单篇文档始终展开", | ||
"displayDocBlock": "显示文档块", | ||
"doubleClickTimeThreshold": "双击时间阈值(毫秒)", | ||
"previewRefreshHighlightDelayTips": "用于代码块、数据库这种需要时间渲染的块高亮,太短可能会失败,不需要可以设置为0", | ||
"previewRefreshHighlightDelay": "刷新预览区高亮延迟(毫秒)", | ||
"settingHub": "设置中心", | ||
"switchCurrentDocumentSearchFailureMessage": "文档搜索插件: 没有获取到打开的文档,可切换页签或重新打开文档。", | ||
"swapDocumentItemClickLogic": "交换文档项点击逻辑", | ||
"swapDocumentItemClickLogicTips": "禁用时,单击展开搜索结果,双击打开文档;启用时,单击打开文档,双击展开搜索结果。", | ||
"allNotebooks": "所有笔记本", | ||
"specifyNotebook": "指定笔记本", | ||
"searchInTheCurrentDocument": "在当前文档查询" | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
.venv | ||
build | ||
dist | ||
*.exe | ||
*.spec |
Oops, something went wrong.