mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-20 00:20:12 +01:00
This commit is contained in:
parent
6b6ce37ca2
commit
76141021d0
16 changed files with 67 additions and 45 deletions
|
|
@ -699,6 +699,40 @@ export abstract class Constants {
|
|||
public static readonly SIYUAN_RENDER_CODE_LANGUAGES: string[] = [
|
||||
"abc", "plantuml", "mermaid", "flowchart", "echarts", "mindmap", "graphviz", "math"
|
||||
];
|
||||
public static readonly PROTYLE_TOOLBAR: string[] = isMobile() ? [
|
||||
"block-ref",
|
||||
"a",
|
||||
"|",
|
||||
"text",
|
||||
"strong",
|
||||
"em",
|
||||
"u",
|
||||
"clear",
|
||||
"|",
|
||||
"code",
|
||||
"tag",
|
||||
"inline-math",
|
||||
"inline-memo",
|
||||
] : [
|
||||
"block-ref",
|
||||
"a",
|
||||
"|",
|
||||
"text",
|
||||
"strong",
|
||||
"em",
|
||||
"u",
|
||||
"s",
|
||||
"mark",
|
||||
"sup",
|
||||
"sub",
|
||||
"clear",
|
||||
"|",
|
||||
"code",
|
||||
"kbd",
|
||||
"tag",
|
||||
"inline-math",
|
||||
"inline-memo",
|
||||
]
|
||||
|
||||
// Google Analytics 事件
|
||||
public static readonly ANALYTICS_EVT_ON_GET_CONFIG: string = "siyuan.onGetConfig";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue