${queryfrom index.tag "page" where .githubUrl and not string.match(.githubUrl, "https://github%.com/ChenZhu%-Xie/xczphysicsSilverBullet/blob/main/.*") select {ref=.ref, name=.name, githubUrl=.githubUrl, githubUrlOriginal=.githubUrl_Original} select {ref=.ref, name=.name, githubUrl=_.githubUrl, githubUrlOriginal=.githubUrl_Original} )}
CONFIG/KeyBinding ${query[[from index.tag "space-lua" where string.match(.script, "key = \"([^\n]+)\",") select {ref=.ref, key=string.match(_.script, "key = \"([^\n]+)\",")}]]}
${template.each(query from index.tag "SB_itself" where _.tag == "page", templates.fullPageItem)} 1. https://silverbullet.md/Library/Std/Infrastructure/Page%20Templates#Currently%20active%20page%20templates 先过滤 tag 再过滤 page 2. https://chatgpt.com/share/68fc9915-ebe4-8010-8332-d82ebd289464
${query[from index.tag "page"
where _.tags and ("SB_itself" in _.tags)
select {ref=_.ref, tags=_.tags}
](from index.tag "page"
where _.tags and ("SB_itself" in _.tags)
select {ref=_.ref, tags=_.tags}
)}
${query[from index.tag "page"
where _.tags and table.concat(_.tags, "|"):match("SB_itself")
select {ref=_.ref, tags=_.tags}
](from index.tag "page"
where _.tags and table.concat(_.tags, "|"):match("SB_itself")
select {ref=_.ref, tags=_.tags}
)}
${queryfrom index.tag "page" where table.includes(tags, "SB_itself"))}
This is where you configure SilverBullet to your liking. See ^Library/Std/Config for a full list of configuration options.
config.set(
"plugs", {
-- `config.set()`|`config.set{}` will cover each other ( for specific "key":table )
-- {} is a Lua Table as a list, array, map... here's a list
"github:joekrill/silverbullet-treeview/treeview.plug.js",
-- "ghr:deepkn/silverbullet-graphview",
"ghr:MrMugame/silversearch",
-- PLUGS: Update (to Download + Update these .plug.js) + SPACE: Reindex (to Reindex the whole space, SilverSearch hooks into the general indexing infrastructure of SilverBullet)
-- "page-meta.plug.js",
-- "https://raw.githubusercontent.com/ChenZhu-Xie/xczphysics_SilverBullet/main/Library/HierarchyHighlightHeadings.plug.js", -- related to [STYLE/Theme](STYLE/Theme)
-- "github:silverbulletmd/silverbullet-katex/katex.plug.js",
-- "https://raw.githubusercontent.com/ChenZhu-Xie/xczphysics_SilverBullet/main/Library/hello.plug.js", -- related to [STYLE/Theme](STYLE/Theme)
"github:deepkn/silverbullet-nldates/nldates.plug.js",
})
-- prioity: 10
config.set("admonLang","en")
#SB_itself