Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
Daniel 2025-12-01 09:27:15 +08:00
parent c5987e566f
commit 323b9345fc
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
3 changed files with 4 additions and 0 deletions

View file

@ -24,6 +24,7 @@ export const setLute = (options: ILuteOptions) => {
lute.SetKramdownIAL(true);
lute.SetTag(true);
lute.SetSuperBlock(true);
lute.SetCallout(true);
lute.SetInlineAsterisk(window.siyuan.config.editor.markdown.inlineAsterisk);
lute.SetInlineUnderscore(window.siyuan.config.editor.markdown.inlineUnderscore);
lute.SetSup(window.siyuan.config.editor.markdown.inlineSup);

View file

@ -225,6 +225,8 @@ declare class Lute {
public SetSuperBlock(enable: boolean): void;
public SetCallout(enable: boolean): void;
public SetTag(enable: boolean): void;
public SetInlineMath(enable: boolean): void;

View file

@ -80,6 +80,7 @@ func NewLute() (ret *lute.Lute) {
ret.SetCodeSyntaxHighlight(false)
ret.SetSanitize(true)
ret.SetUnorderedListMarker("-")
ret.SetCallout(true)
return
}