mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
✨ Callout block https://github.com/siyuan-note/siyuan/issues/16051
Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
parent
c5987e566f
commit
323b9345fc
3 changed files with 4 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
2
app/src/types/protyle.d.ts
vendored
2
app/src/types/protyle.d.ts
vendored
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -80,6 +80,7 @@ func NewLute() (ret *lute.Lute) {
|
|||
ret.SetCodeSyntaxHighlight(false)
|
||||
ret.SetSanitize(true)
|
||||
ret.SetUnorderedListMarker("-")
|
||||
ret.SetCallout(true)
|
||||
return
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue