Compare commits

..

No commits in common. "d91a14290f040be51464bb52512bd2a9e139c779" and "7012a00c540cc6f431412103b5915a6bb838391f" have entirely different histories.

6 changed files with 7 additions and 9 deletions

View File

@ -6,6 +6,8 @@
> 核心markdown解析器 👉[markdown-it](https://github.com/markdown-it/markdown-it)
> `https://github.com/markdown-it/markdown-it`
> **核心代码在`demo.html`中** > **不想手动创建模板,可以直接导入我上传好的牌组(./markdown.apkg),就会自动导入卡片模板了**
👇 目前的功能(有什么改进可以在 issue 里提 有能力可以自行修改提 pr,喜欢的兄弟姐妹们可以点个star支持一下
@ -36,7 +38,7 @@
---
**cdn 仓库(请勿继续使用字节cdn 已倒闭)**
**cdn 仓库(~~慢的可以自己换成国内的 cdn 仓库~~换成字节的 cdn 库了国内速度挺快)**
****
@ -53,7 +55,3 @@
2. 背面内容模板 完整复制仓库 `./卡片北面面内容模板.txt` 的内容
3. 样式 完整复制仓库`./卡片样式.css` 文件的内容
#### 开发调试
使用 `./card-demo-dev-test.html` 开启live server 浏览器中调试
在anki 卡片模板预览中 实时调试

View File

@ -94,10 +94,10 @@ console.log('hello world')
<script>
var getResources = [
getScript(
"https://gcore.jsdelivr.net/npm/markdown-it@14.1.0/dist/markdown-it.min.js"
"https://lf6-cdn-tos.bytecdntp.com/cdn/expire-1-M/markdown-it/12.3.2/markdown-it.min.js"
),
getScript(
"https://gcore.jsdelivr.net/gh/highlightjs/cdn-release@11.11.1/build/highlight.min.js"
"https://lf26-cdn-tos.bytecdntp.com/cdn/expire-1-M/highlight.js/11.4.0/highlight.min.js"
),
// getScript(
// "https://cdn.jsdelivr.net/npm/markdown-it-texmath@1.0.0/texmath.min.js"

Binary file not shown.

View File

@ -5,8 +5,8 @@
<script>
var getResources = [
getScript("https://gcore.jsdelivr.net/npm/markdown-it@14.1.0/dist/markdown-it.min.js"),
getScript("https://gcore.jsdelivr.net/gh/highlightjs/cdn-release@11.11.1/build/highlight.min.js"),
getScript("https://lf6-cdn-tos.bytecdntp.com/cdn/expire-1-M/markdown-it/12.3.2/markdown-it.min.js"),
getScript("https://lf26-cdn-tos.bytecdntp.com/cdn/expire-1-M/highlight.js/11.4.0/highlight.min.js"),
];
// 加载资源并初始化