feat: python poetry和pptx使用
parent
0f51991169
commit
059ce3751c
Binary file not shown.
@ -0,0 +1,15 @@
|
|||||||
|
<template>
|
||||||
|
<iframe
|
||||||
|
class="iframe"
|
||||||
|
src="https://luckrnx09.com/python-guide-for-javascript-engineers/zh-cn/"
|
||||||
|
frameborder="0"
|
||||||
|
></iframe>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script setup></script>
|
||||||
|
<style lang="scss" scoped>
|
||||||
|
.iframe {
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
@ -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/poetry.md').then((res) => {
|
||||||
|
htmlStr.value = marked(res);
|
||||||
|
});
|
||||||
|
</script>
|
||||||
@ -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/pptx.md').then((res) => {
|
||||||
|
htmlStr.value = marked(res);
|
||||||
|
});
|
||||||
|
</script>
|
||||||
Loading…
Reference in New Issue