mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-20 23:36:10 +01:00
🎨 行级元素支持嵌套和交叉 https://github.com/siyuan-note/siyuan/issues/2911
This commit is contained in:
parent
b0950cf689
commit
3eab9bec9b
5 changed files with 7 additions and 4 deletions
|
|
@ -2,6 +2,7 @@ export const setLute = (options: ILuteOptions) => {
|
|||
const lute: Lute = Lute.New();
|
||||
lute.SetProtyleMarkNetImg(window.siyuan.config.editor.displayNetImgMark);
|
||||
lute.SetFileAnnotationRef(true);
|
||||
lute.SetTextMark(true);
|
||||
lute.SetHeadingID(false);
|
||||
lute.SetYamlFrontMatter(false);
|
||||
lute.PutEmojis(options.emojis);
|
||||
|
|
|
|||
2
app/src/types/protyle.d.ts
vendored
2
app/src/types/protyle.d.ts
vendored
|
|
@ -137,6 +137,8 @@ declare class Lute {
|
|||
|
||||
private constructor();
|
||||
|
||||
public SetTextMark(enable: boolean): void;
|
||||
|
||||
public SetHeadingID(enable: boolean): void;
|
||||
|
||||
public SetProtyleMarkNetImg(enable: boolean): void;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue