feat: pyenv 感觉没什么用
parent
059ce3751c
commit
d135b3f8f7
@ -0,0 +1,18 @@
|
|||||||
|
<template>
|
||||||
|
<div
|
||||||
|
class="markdown-body"
|
||||||
|
v-html="htmlStr"
|
||||||
|
/>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script setup>
|
||||||
|
import { ref } from 'vue';
|
||||||
|
import { marked } from 'marked';
|
||||||
|
import { getMarkdownContent } from '@/utils/tools';
|
||||||
|
|
||||||
|
const htmlStr = ref('');
|
||||||
|
|
||||||
|
getMarkdownContent('./md/pyenv.md').then((res) => {
|
||||||
|
htmlStr.value = marked(res);
|
||||||
|
});
|
||||||
|
</script>
|
||||||
Loading…
Reference in New Issue