perf: supplement content MIT protocol
This commit is contained in:
parent
2b2a43ed6d
commit
1182f3edc0
@ -6,6 +6,11 @@ createTime: 2024/03/05 11:10:39
|
||||
permalink: /guide/markdown/basic/
|
||||
---
|
||||
|
||||
::: note
|
||||
此文档 Fork 自 [vuepress-theme-hope](https://theme-hope.vuejs.press/zh/cookbook/markdown/),
|
||||
遵循 [MIT](https://github.com/vuepress-theme-hope/vuepress-theme-hope/blob/main/LICENSE) 许可证。
|
||||
:::
|
||||
|
||||
Markdown 是一种可以使用普通文本编辑器编写的标记语言,通过简单的标记语法,它可以使普通文本内容具有一定的格式。
|
||||
|
||||
Markdown 的目标是实现「易读易写」。
|
||||
|
||||
@ -6,7 +6,9 @@ createTime: 2024/04/04 10:42:05
|
||||
permalink: /guide/code/replit/
|
||||
---
|
||||
|
||||
主题支持在 Markdown 文件中嵌入 [Replit](https://replit.com/)。
|
||||
<Badge type="danger" text="弃用" />
|
||||
|
||||
~~主题支持在 Markdown 文件中嵌入 [Replit](https://replit.com/)。~~
|
||||
|
||||
## 配置
|
||||
|
||||
|
||||
@ -74,6 +74,11 @@ export default defineUserConfig({
|
||||
|
||||
## 示例
|
||||
|
||||
::: note
|
||||
示例 Fork 自 [vuepress-theme-hope](https://theme-hope.vuejs.press/zh/guide/markdown/chart/chartjs.html#%E6%A1%88%E4%BE%8B),
|
||||
遵循 [MIT](https://github.com/vuepress-theme-hope/vuepress-theme-hope/blob/main/LICENSE) 许可证。
|
||||
:::
|
||||
|
||||
### 块状图
|
||||
|
||||
**输入:**
|
||||
|
||||
@ -58,6 +58,11 @@ export default defineUserConfig({
|
||||
|
||||
:::
|
||||
|
||||
::: note
|
||||
以下文档 Fork 自 [vuepress-theme-hope](https://theme-hope.vuejs.press/zh/guide/markdown/chart/echarts.html),
|
||||
遵循 [MIT](https://github.com/vuepress-theme-hope/vuepress-theme-hope/blob/main/LICENSE) 许可证。
|
||||
:::
|
||||
|
||||
## 语法
|
||||
|
||||
### JSON 配置
|
||||
|
||||
@ -58,6 +58,11 @@ export default defineUserConfig({
|
||||
|
||||
:::
|
||||
|
||||
::: note
|
||||
以下文档 Fork 自 [vuepress-theme-hope](https://theme-hope.vuejs.press/zh/guide/markdown/chart/flowchart.html),
|
||||
遵循 [MIT](https://github.com/vuepress-theme-hope/vuepress-theme-hope/blob/main/LICENSE) 许可证。
|
||||
:::
|
||||
|
||||
## 语法
|
||||
|
||||
````md
|
||||
|
||||
@ -58,6 +58,11 @@ export default defineUserConfig({
|
||||
|
||||
:::
|
||||
|
||||
::: note
|
||||
以下文档 Fork 自 [vuepress-theme-hope](https://theme-hope.vuejs.press/zh/guide/markdown/chart/mermaid.html),
|
||||
遵循 [MIT](https://github.com/vuepress-theme-hope/vuepress-theme-hope/blob/main/LICENSE) 许可证。
|
||||
:::
|
||||
|
||||
## 语法
|
||||
|
||||
````md
|
||||
|
||||
@ -1,3 +1,16 @@
|
||||
/**
|
||||
* Fork for https://github.com/vuepress-theme-hope/vuepress-theme-hope/blob/main/packages/components/src/client/utils/viewPDF.ts
|
||||
*
|
||||
* The MIT License (MIT)
|
||||
* Copyright (C) 2021 - PRESENT by Mr.Hope<mister-hope@outlook.com>
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
import { ensureEndingSlash, isLinkHttp } from 'vuepress/shared'
|
||||
import { withBase } from 'vuepress/client'
|
||||
import type { PDFEmbedType, PDFTokenMeta } from '../../shared/pdf.js'
|
||||
|
||||
@ -1,3 +1,16 @@
|
||||
/**
|
||||
* Fork for https://github.com/vuepress-theme-hope/vuepress-theme-hope/blob/main/packages/components/src/client/composables/useSize.ts
|
||||
*
|
||||
* The MIT License (MIT)
|
||||
* Copyright (C) 2021 - PRESENT by Mr.Hope<mister-hope@outlook.com>
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
import type { MaybeRef } from '@vueuse/core'
|
||||
import { useEventListener } from '@vueuse/core'
|
||||
import type { Ref, ShallowRef, ToRefs } from 'vue'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user