Add frequently used prompt function.

This commit is contained in:
Rafi
2023-03-09 17:39:45 +08:00
parent 8340edbf40
commit 052f5299a0
4 changed files with 237 additions and 5 deletions

View File

@@ -65,7 +65,6 @@ const highlightCode = () => {
}
watchEffect(() => {
console.log('content changed', props.content)
contentHtml.value = props.content ? marked(props.content) : ''
if (props.content && props.content.endsWith('```')) {
nextTick(() => {