Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
Zacharia2 committed Feb 2, 2024
1 parent b31dc44 commit ac9f654
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 13 deletions.
2 changes: 2 additions & 0 deletions src/obsidian-vault/syntax/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,8 @@ function shiraz_callout_syntax(page_content: string) {
}
let type = head_arr[0].substring(2, head_arr[0].length - 1).toLowerCase()
let title = head_arr.length == 2 ? head_arr[1] : ""
// 同样的语法md格式空一行解析失败,而tw格式解析成功。
// 要删掉空行,并使用tw无序列表*作为前缀解决多行解析问题。
var page_content = page_content.replace(quotes_str_full, `<<callout type:"${type}" title:"${title}" src:"${body}">>\n`);
}
return page_content
Expand Down
2 changes: 1 addition & 1 deletion wiki/tiddlers/$__plugins_Gk0Wk_CPL-Repo.json

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions wiki/tiddlers/$__plugins_Gk0Wk_CPL-Repo.json.meta
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
author: Gk0Wk
description: Repos for CPL
description: Essential and powerful plugin manager and library
list: readme
name: CPL Repo
plugin-type: plugin
title: $:/plugins/Gk0Wk/CPL-Repo
type: application/json
version: 2022.12.28
version: 2023.12.9
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
created: 20240202122713989
modified: 20240202122713989
title: $:/plugins/Gk0Wk/CPL-Repo/config/popup-readme-at-startup
type: text/vnd.tiddlywiki

1
1 change: 0 additions & 1 deletion wiki/tiddlers/$__plugins_linonetwo_tw-react.json

This file was deleted.

9 changes: 0 additions & 9 deletions wiki/tiddlers/$__plugins_linonetwo_tw-react.json.meta

This file was deleted.

0 comments on commit ac9f654

Please sign in to comment.