mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2024-12-29 07:34:18 +01:00
fixed coding style
This commit is contained in:
parent
8f8f3fc61c
commit
661302278e
@ -83,7 +83,7 @@ const THEMES = ['light', 'dark', 'cupcake', 'bumblebee', 'emerald', 'corporate',
|
|||||||
const VueMarkdown = defineComponent(
|
const VueMarkdown = defineComponent(
|
||||||
(props) => {
|
(props) => {
|
||||||
const md = shallowRef(new MarkdownIt({ breaks: true }));
|
const md = shallowRef(new MarkdownIt({ breaks: true }));
|
||||||
md.value.use(HighlightJS,{hljs})
|
md.value.use(HighlightJS, { hljs });
|
||||||
md.value.use(markdownItKatexGpt)
|
md.value.use(markdownItKatexGpt)
|
||||||
const origFenchRenderer = md.value.renderer.rules.fence;
|
const origFenchRenderer = md.value.renderer.rules.fence;
|
||||||
md.value.renderer.rules.fence = (tokens, idx, ...args) => {
|
md.value.renderer.rules.fence = (tokens, idx, ...args) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user