Obsidian 插件LateX Suite 配置文件分享

[
    
    // 引用块
    //待办
    {trigger: "@DAIBAN", replacement: "> [!todo]$0 待办$1", options: "tA"},
    {trigger: "@daiban", replacement: "> [!todo]$0 待办$1", options: "tA"},
    //笔记
    {trigger: "@BIJI", replacement: "> [!note]$0 笔记$1", options: "tA"},
    {trigger: "@biji", replacement: "> [!note]$0 笔记$1", options: "tA"},
    //消息
    {trigger: "@XIAOXI", replacement: "> [!info]$0 消息$1", options: "tA"},
    {trigger: "@xiaoxi", replacement: "> [!info]$0 消息$1", options: "tA"},
    //摘要
    {trigger: "@ZHAIYAO", replacement: "> [!abstract]$0 摘要$1", options: "tA"},
    {trigger: "@zhaiyao", replacement: "> [!abstract]$0 摘要$1", options: "tA"},
    //重点
    {trigger: "@ZHONGDIAN", replacement: "> [!tip]$0 重点$1", options: "tA"},
    {trigger: "@zhongdian", replacement: "> [!tip]$0 重点$1", options: "tA"},
    //完成
    {trigger: "@WANCHENG", replacement: ">> [!done]$0 完成$1", options: "tA"},
    {trigger: "@wancheng", replacement: ">> [!done]$0 完成$1", options: "tA"},
    //问题
    {trigger: "@WENTI", replacement: "> [!question]$0 问题$1", options: "tA"},
    {trigger: "@wenti", replacement: "> [!question]$0 问题$1", options: "tA"},
    //警告
    {trigger: "@JINGGAO", replacement: "> [!warning]$0 警告$1", options: "tA"},
    {trigger: "@jinggao", replacement: "> [!warning]$0 警告$1", options: "tA"},
    //失败
    {trigger: "@SHIBAI", replacement: "> [!fail]$0 失败$1", options: "tA"},
    {trigger: "@shibai", replacement: "> [!fail]$0 失败$1", options: "tA"},
    //错误
    {trigger: "@CUOWU", replacement: "> [!error]$0 错误$1", options: "tA"},
    {trigger: "@cuowu", replacement: "> [!error]$0 错误$1", options: "tA"},
    //BUG
    {trigger: "@BUG", replacement: "> [!bug]$0 八哥$1", options: "tA"},
    {trigger: "@bug", replacement: "> [!bug]$0 八哥$1", options: "tA"},
    //例子
    {trigger: "@LIZI", replacement: "> [!example]$0 栗子$1", options: "tA"},
    {trigger: "@lizi", replacement: "> [!example]$0 栗子$1", options: "tA"},
    //引用
    {trigger: "@YINYONG", replacement: "> [!quote]$0 引用$1", options: "tA"},
    {trigger: "@yinyong", replacement: "> [!quote]$0 引用$1", options: "tA"},
    //速记
    {trigger: "@SUJI", replacement: "> [!glyph]$0 速记$1", options: "tA"},
    {trigger: "@suji", replacement: "> [!glyph]$0 速记$1", options: "tA"},

    //文字处理
    //脚注
    {trigger: "@JIAOZHU", replacement: "^[$0] $1", options: "tA"},
    {trigger: "@jiaozhu", replacement: "^[$0] $1", options: "tA"},
    //尾注
    {trigger: "@WEIZHU", replacement: "[^$0]$1", options: "tA"},
    {trigger: "@weizhu", replacement: "[^$0]$1", options: "tA"},
    //上标
    {trigger: "@SHANGBIAO", replacement: "<sup>$0</sup> $1", options: "tA"},
    {trigger: "@shangbiao", replacement: "<sup>$0</sup> $1", options: "tA"},
    //下标
    {trigger: "@XIABIAO", replacement: "<sub>$0</sub> $1", options: "tA"},
    {trigger: "@xiabiao", replacement: "<sub>$0</sub> $1", options: "tA"},
    //下划线
    {trigger: "@XIAHUAXIAN", replacement: "<u>$0</u> $1", options: "tA"},
    {trigger: "@xiahuaxian", replacement: "<u>$0</u> $1", options: "tA"},
    //换行
    {trigger: "@HUANHANG", replacement: "<br>", options: "tA"},
    {trigger: "@huanhang", replacement: "<br>", options: "tA"},
    //空行
    {trigger: "@KONGHANG", replacement: "&nbsp;", options: "tA"},
    {trigger: "@konghang", replacement: "&nbsp;", options: "tA"},
    //按键
    {trigger: "@ANJIAN", replacement: "<kbd>$0</kbd> $1", options: "tA"},
    {trigger: "@anjian", replacement: "<kbd>$0</kbd> $1", options: "tA"},
    //放大
    {trigger: "@FANGDA", replacement: "<big>$0</big> $1", options: "tA"},
    {trigger: "@fangda", replacement: "<big>$0</big> $1", options: "tA"},
    //缩小
    {trigger: "@SUOXIAO", replacement: "<small>$0</small> $1", options: "tA"},
    {trigger: "@suoxiao", replacement: "<small>$0</small> $1", options: "tA"},
    //图注
    {trigger: "@TUZHU", replacement: "<center>$0</center> $1", options: "tA"},
    {trigger: "@tuzhu", replacement: "<center>$0</center> $1", options: "tA"},

    //杂项
    //进度条
    {trigger: "@JINDU", replacement: "![进度](https://progress-bar.dev/$0/)$1", options: "tA"}, 
    {trigger: "@jindu", replacement: "![进度](https://progress-bar.dev/$0/)$1", options: "tA"},

    //文字高亮颜色
    //颜色
    {trigger: "@YANSE", replacement: "<font color=$0>$1</font> $2", options: "tA"},
    {trigger: "@yanse", replacement: "<font color=$0>$1</font> $2", options: "tA"},
    //红色
    {trigger: "@HONGSE", replacement: "<font color=red>$0</font> $1", options: "tA"},
    {trigger: "@hongse", replacement: "<font color=red>$0</font> $1", options: "tA"},
    //绿色
    {trigger: "@LVSE", replacement: "<font color=green>$0</font> $1", options: "tA"},
    {trigger: "@lvse", replacement: "<font color=green>$0</font> $1", options: "tA"},
    //蓝色
    {trigger: "@LANSE", replacement: "<font color=blue>$0</font> $1", options: "tA"},
    {trigger: "@lanse", replacement: "<font color=blue>$0</font> $1", options: "tA"},
    //青色
    {trigger: "@QINGSE", replacement: "<font color=cyan>$0</font> $1", options: "tA"},
    {trigger: "@qingse", replacement: "<font color=cyan>$0</font> $1", options: "tA"},
    //品红
    {trigger: "@PINHONG", replacement: "<font color=magenta>$0</font> $1", options: "tA"},
    {trigger: "@pinhong", replacement: "<font color=magenta>$0</font> $1", options: "tA"},
    //黄色
    {trigger: "@HUANGSE", replacement: "<font color=yellow>$0</font> $1", options: "tA"},
    {trigger: "@huangse", replacement: "<font color=yellow>$0</font> $1", options: "tA"},
    //橘色
    {trigger: "@JUSE", replacement: "<font color=orange>$0</font> $1", options: "tA"},
    {trigger: "@juse", replacement: "<font color=orange>$0</font> $1", options: "tA"},
    //紫色
    {trigger: "@ZISE", replacement: "<font color=purple>$0</font> $1", options: "tA"},
    {trigger: "@zise", replacement: "<font color=purple>$0</font> $1", options: "tA"},
    //深绿
    {trigger: "@SHENLVSE", replacement: "<font color=teal>$0</font> $1", options: "tA"},
    {trigger: "@shenlvse", replacement: "<font color=teal>$0</font> $1", options: "tA"},
    //粉色
    {trigger: "@FENSE", replacement: "<font color=pink>$0</font> $1", options: "tA"},
    {trigger: "@fense", replacement: "<font color=pink>$0</font> $1", options: "tA"},

    //文字背景
    //红底
    {trigger: "@HONGDI", replacement: "<span style=\"background:red;\">$0</span> $1", options: "tA"},
    {trigger: "@hongdi", replacement: "<span style=\"background:red;\">$0</span> $1", options: "tA"},
    //绿底
    {trigger: "@LVDI", replacement: "<span style=\"background:green;\">$0</span> $1", options: "tA"},
    {trigger: "@lvdi", replacement: "<span style=\"background:green;\">$0</span> $1", options: "tA"},
    //蓝底
    {trigger: "@LANDI", replacement: "<span style=\"background:blue;\">$0</span> $1", options: "tA"},
    {trigger: "@landi", replacement: "<span style=\"background:blue;\">$0</span> $1", options: "tA"},
    //青底
    {trigger: "@QINGDI", replacement: "<span style=\"background:cyan;\">$0</span> $1", options: "tA"},
    {trigger: "@qingdi", replacement: "<span style=\"background:cyan;\">$0</span> $1", options: "tA"},
    //品红底
    {trigger: "@PINHONGDI", replacement: "<span style=\"background:magenta;\">$0</span> $1", options: "tA"},
    {trigger: "@pinhongdi", replacement: "<span style=\"background:magenta;\">$0</span> $1", options: "tA"},
    //黄底
    {trigger: "@HUANGDI", replacement: "<span style=\"background:yellow;\">$0</span> $1", options: "tA"},
    {trigger: "@huangdi", replacement: "<span style=\"background:yellow;\">$0</span> $1", options: "tA"},
    //橘底
    {trigger: "@JUDI", replacement: "<span style=\"background:orange;\">$0</span> $1", options: "tA"},
    {trigger: "@judi", replacement: "<span style=\"background:orange;\">$0</span> $1", options: "tA"},
    //紫底
    {trigger: "@ZIDI", replacement: "<span style=\"background:purple;\">$0</span> $1", options: "tA"},
    {trigger: "@zidi", replacement: "<span style=\"background:purple;\">$0</span> $1", options: "tA"},
    //深绿底
    {trigger: "@SHENLVDI", replacement: "<span style=\"background:teal;\">$0</span> $1", options: "tA"},
    {trigger: "@shenlvdi", replacement: "<span style=\"background:teal;\">$0</span> $1", options: "tA"},
    //粉底
    {trigger: "@FENDI", replacement: "<span style=\"background:pink;\">$0</span> $1", options: "tA"},
    {trigger: "@fendi", replacement: "<span style=\"background:pink;\">$0</span> $1", options: "tA"},

    //下划线
    //红线
    {trigger: "@HONGXIAN", replacement: " <span style=\"border-bottom:3px Solid red;\">$0</span> $1", options: "tA"},
    {trigger: "@hongxian", replacement: " <span style=\"border-bottom:3px Solid red;\">$0</span> $1", options: "tA"},
    //绿线
    {trigger: "@LVXIAN", replacement: " <span style=\"border-bottom:3px Solid green;\">$0</span> $1", options: "tA"},
    {trigger: "@lvxian", replacement: " <span style=\"border-bottom:3px Solid green;\">$0</span> $1", options: "tA"},
    //蓝线
    {trigger: "@LANXIAN", replacement: " <span style=\"border-bottom:3px Solid blue;\">$0</span> $1", options: "tA"},
    {trigger: "@lanxian", replacement: " <span style=\"border-bottom:3px Solid blue;\">$0</span> $1", options: "tA"},
    //青线
    {trigger: "@QINGXIAN", replacement: " <span style=\"border-bottom:3px Solid cyan;\">$0</span> $1", options: "tA"},
    {trigger: "@qingxian", replacement: " <span style=\"border-bottom:3px Solid cyan;\">$0</span> $1", options: "tA"},
    //品红线
    {trigger: "@PINHONGXIAN", replacement: " <span style=\"border-bottom:3px Solid magenta;\">$0</span> $1", options: "tA"},
    {trigger: "@pinhongxian", replacement: " <span style=\"border-bottom:3px Solid magenta;\">$0</span> $1", options: "tA"},
    //黄线
    {trigger: "@HUANGXIAN", replacement: " <span style=\"border-bottom:3px Solid yellow;\">$0</span> $1", options: "tA"},
    {trigger: "@huangxian", replacement: " <span style=\"border-bottom:3px Solid yellow;\">$0</span> $1", options: "tA"},
    //橘线
    {trigger: "@JUXIAN", replacement: " <span style=\"border-bottom:3px Solid orange;\">$0</span> $1", options: "tA"},
    {trigger: "@juxian", replacement: " <span style=\"border-bottom:3px Solid orange;\">$0</span> $1", options: "tA"},
    //紫线
    {trigger: "@ZIXIAN", replacement: " <span style=\"border-bottom:3px Solid purple;\">$0</span> $1", options: "tA"},
    {trigger: "@zixian", replacement: " <span style=\"border-bottom:3px Solid purple;\">$0</span> $1", options: "tA"},
    //深绿线
    {trigger: "@SHENLVXIAN", replacement: " <span style=\"border-bottom:3px Solid teal;\">$0</span> $1", options: "tA"},
    {trigger: "@shenlvxian", replacement: " <span style=\"border-bottom:3px Solid teal;\">$0</span> $1", options: "tA"},
    //粉线
    {trigger: "@FENXIAN", replacement: " <span style=\"border-bottom:3px Solid pink;\">$0</span> $1", options: "tA"},
    {trigger: "@fenxian", replacement: " <span style=\"border-bottom:3px Solid pink;\">$0</span> $1", options: "tA"},
    //红虚线
    {trigger: "@HONGXUXIAN", replacement: " <span style=\"border-bottom:3px dashed red;\">$0</span> $1", options: "tA"},
    {trigger: "@hongxuxian", replacement: " <span style=\"border-bottom:3px dashed red;\">$0</span> $1", options: "tA"},
    //绿虚线
    {trigger: "@LVXUXIAN", replacement: " <span style=\"border-bottom:3px dashed green;\">$0</span> $1", options: "tA"},
    {trigger: "@lvxuxian", replacement: " <span style=\"border-bottom:3px dashed green;\">$0</span> $1", options: "tA"},
    //蓝虚线
    {trigger: "@LANXUXIAN", replacement: " <span style=\"border-bottom:3px dashed blue;\">$0</span> $1", options: "tA"},
    {trigger: "@lanxuxian", replacement: " <span style=\"border-bottom:3px dashed blue;\">$0</span> $1", options: "tA"},
    //青虚线
    {trigger: "@QINGXUXIAN", replacement: " <span style=\"border-bottom:3px dashed cyan;\">$0</span> $1", options: "tA"},
    {trigger: "@qingxuxian", replacement: " <span style=\"border-bottom:3px dashed cyan;\">$0</span> $1", options: "tA"},
    //品红虚线
    {trigger: "@PINHONGXUXIAN", replacement: " <span style=\"border-bottom:3px dashed magenta;\">$0</span> $1", options: "tA"},
    {trigger: "@pinhongxuxian", replacement: " <span style=\"border-bottom:3px dashed magenta;\">$0</span> $1", options: "tA"},
    //黄虚线
    {trigger: "@HUANGXUXIAN", replacement: " <span style=\"border-bottom:3px dashed yellow;\">$0</span> $1", options: "tA"},
    {trigger: "@huangxuxian", replacement: " <span style=\"border-bottom:3px dashed yellow;\">$0</span> $1", options: "tA"},
    //橘虚线
    {trigger: "@JUXUXIAN", replacement: " <span style=\"border-bottom:3px dashed orange;\">$0</span> $1", options: "tA"},
    {trigger: "@juxuxian", replacement: " <span style=\"border-bottom:3px dashed orange;\">$0</span> $1", options: "tA"},
    //紫虚线
    {trigger: "@ZIXUXIAN", replacement: " <span style=\"border-bottom:3px dashed purple;\">$0</span> $1", options: "tA"},
    {trigger: "@zixuxian", replacement: " <span style=\"border-bottom:3px dashed purple;\">$0</span> $1", options: "tA"},
    //深绿虚线
    {trigger: "@SHENLVXUXIAN", replacement: " <span style=\"border-bottom:3px dashed teal;\">$0</span> $1", options: "tA"},
    {trigger: "@shenlvxuxian", replacement: " <span style=\"border-bottom:3px dashed teal;\">$0</span> $1", options: "tA"},
    //粉虚线
    {trigger: "@FENXUXIAN", replacement: " <span style=\"border-bottom:3px dashed pink;\">$0</span> $1", options: "tA"},
    {trigger: "@fenxuxian", replacement: " <span style=\"border-bottom:3px dashed pink;\">$0</span> $1", options: "tA"},

]

喜欢的欢迎使用,记得留个赞👍哦!!

1
0