mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2024-12-28 12:24: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
|
// markdown support
|
||||||
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;
|
||||||
|
Loading…
Reference in New Issue
Block a user