Compare commits

..

2 Commits

Author SHA1 Message Date
laishunchao d91a14290f fix: 更新README,移除字节cdn信息并添加开发调试说明 2025-09-19 10:16:04 +08:00
laishunchao 24f1f6fe99 移除 字节cdn(已倒闭) 2025-09-18 19:37:32 +08:00
6 changed files with 9 additions and 7 deletions

View File

@ -6,8 +6,6 @@
> 核心markdown解析器 👉[markdown-it](https://github.com/markdown-it/markdown-it)
> `https://github.com/markdown-it/markdown-it`
> **核心代码在`demo.html`中** > **不想手动创建模板,可以直接导入我上传好的牌组(./markdown.apkg),就会自动导入卡片模板了**
👇 目前的功能(有什么改进可以在 issue 里提 有能力可以自行修改提 pr,喜欢的兄弟姐妹们可以点个star支持一下
@ -38,7 +36,7 @@
---
**cdn 仓库(~~慢的可以自己换成国内的 cdn 仓库~~换成字节的 cdn 库了国内速度挺快)**
**cdn 仓库(请勿继续使用字节cdn 已倒闭)**
****
@ -55,3 +53,7 @@
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://lf6-cdn-tos.bytecdntp.com/cdn/expire-1-M/markdown-it/12.3.2/markdown-it.min.js"
"https://gcore.jsdelivr.net/npm/markdown-it@14.1.0/dist/markdown-it.min.js"
),
getScript(
"https://lf26-cdn-tos.bytecdntp.com/cdn/expire-1-M/highlight.js/11.4.0/highlight.min.js"
"https://gcore.jsdelivr.net/gh/highlightjs/cdn-release@11.11.1/build/highlight.min.js"
),
// getScript(
// "https://cdn.jsdelivr.net/npm/markdown-it-texmath@1.0.0/texmath.min.js"

View File

@ -5,8 +5,8 @@
<script>
var getResources = [
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"),
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"),
];
// 加载资源并初始化