mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2024-12-27 20:04:35 +00:00
code cleanup
This commit is contained in:
parent
27830711fd
commit
5622ff5600
@ -82,7 +82,7 @@ const THEMES = ['light', 'dark', 'cupcake', 'bumblebee', 'emerald', 'corporate',
|
||||
// markdown support
|
||||
const VueMarkdown = defineComponent(
|
||||
(props) => {
|
||||
const md = shallowRef(new MarkdownIt({ breaks: true}))
|
||||
const md = shallowRef(new MarkdownIt({ breaks: true }));
|
||||
md.value.use(HighlightJS,{hljs})
|
||||
md.value.use(markdownItKatexGpt)
|
||||
const origFenchRenderer = md.value.renderer.rules.fence;
|
||||
|
Loading…
Reference in New Issue
Block a user