mirror of
https://github.com/open-webui/open-webui.git
synced 2026-08-28 05:27:35 +00:00
Merge 6c4eae51c2 into b3591e60b1
This commit is contained in:
commit
d0731ec65c
1 changed files with 6 additions and 1 deletions
|
|
@ -102,6 +102,10 @@ function detailsExtension() {
|
|||
};
|
||||
}
|
||||
|
||||
function underlineRenderer(this: any, token: any) {
|
||||
return `<u>${this.parser.parseInline(token.tokens)}</u>`;
|
||||
}
|
||||
|
||||
function underlineExtension() {
|
||||
return {
|
||||
name: 'underline',
|
||||
|
|
@ -117,7 +121,8 @@ function underlineExtension() {
|
|||
text: match[1],
|
||||
tokens: this.lexer.inlineTokens(match[1])
|
||||
};
|
||||
}
|
||||
},
|
||||
renderer: underlineRenderer
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue