**基础用法**

<xnsk-markdown :value="content" type="text"></xnsk-markdown>

<script setup>
    import { ref } from 'vue'
    import {XnskMarkdown} from '../../src/components'
    let str = `**我是加粗文本**  
# 一级标题
## 二级标题`
    const content = ref(str)
</script>

```vue
<template>
  <xnsk-markdown :value="content" type="text"></xnsk-markdown>
</template>

<script setup>
import { ref } from "vue";
import { XnskMarkdown } from "../../src/components";
let str = `**我是加粗文本**  
# 一级标题
## 二级标题`;
const content = ref(str);
</script>
```

**参数**
| 参数 | 说明 | 类型 | 可选值 | 默认值 |
| --- | --- | --- | --- | --- |
| value | 显示的文本 | string | - | - |
| type | 当传入 url 时，组件会下载内容解析，非 url 时，直接按文本解析 | string | url 或其他 | url（因为大部分md文档都是以文件存储，这里默认了url） |
