This commit is contained in:
Liang Ding 2022-09-13 09:26:11 +08:00
parent b0950cf689
commit 3eab9bec9b
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
5 changed files with 7 additions and 4 deletions

View file

@ -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);

View file

@ -137,6 +137,8 @@ declare class Lute {
private constructor();
public SetTextMark(enable: boolean): void;
public SetHeadingID(enable: boolean): void;
public SetProtyleMarkNetImg(enable: boolean): void;