finish sdk-tutorial
This commit is contained in:
parent
014e34ea29
commit
106c40b128
@ -9,6 +9,9 @@ export const customIcons = {
|
||||
export default defineConfig({
|
||||
title: "OpenMCP",
|
||||
description: "为开发者和科研人员准备的MCP开发环境和SDK",
|
||||
base: '/openmcp',
|
||||
ignoreDeadLinks: true,
|
||||
|
||||
head: [
|
||||
['link', { rel: 'icon', href: '/images/favicon.png' }]
|
||||
],
|
||||
|
@ -1,85 +0,0 @@
|
||||
# Markdown Extension Examples
|
||||
|
||||
This page demonstrates some of the built-in markdown extensions provided by VitePress.
|
||||
|
||||
## Syntax Highlighting
|
||||
|
||||
VitePress provides Syntax Highlighting powered by [Shiki](https://github.com/shikijs/shiki), with additional features like line-highlighting:
|
||||
|
||||
**Input**
|
||||
|
||||
````md
|
||||
```js{4}
|
||||
export default {
|
||||
data () {
|
||||
return {
|
||||
msg: 'Highlighted!'
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
````
|
||||
|
||||
**Output**
|
||||
|
||||
```js{4}
|
||||
export default {
|
||||
data () {
|
||||
return {
|
||||
msg: 'Highlighted!'
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
## Custom Containers
|
||||
|
||||
**Input**
|
||||
|
||||
```md
|
||||
::: info
|
||||
This is an info box.
|
||||
:::
|
||||
|
||||
::: tip
|
||||
This is a tip.
|
||||
:::
|
||||
|
||||
::: warning
|
||||
This is a warning.
|
||||
:::
|
||||
|
||||
::: danger
|
||||
This is a dangerous warning.
|
||||
:::
|
||||
|
||||
::: details
|
||||
This is a details block.
|
||||
:::
|
||||
```
|
||||
|
||||
**Output**
|
||||
|
||||
::: info
|
||||
This is an info box.
|
||||
:::
|
||||
|
||||
::: tip
|
||||
This is a tip.
|
||||
:::
|
||||
|
||||
::: warning
|
||||
This is a warning.
|
||||
:::
|
||||
|
||||
::: danger
|
||||
This is a dangerous warning.
|
||||
:::
|
||||
|
||||
::: details
|
||||
This is a details block.
|
||||
:::
|
||||
|
||||
## More
|
||||
|
||||
Check out the documentation for the [full list of markdown extensions](https://vitepress.dev/guide/markdown).
|
@ -1,8 +1,8 @@
|
||||
{
|
||||
"scripts": {
|
||||
"docs:dev": "vitepress dev",
|
||||
"docs:build": "vitepress build",
|
||||
"docs:preview": "vitepress preview"
|
||||
"dev": "vitepress dev",
|
||||
"build": "vitepress build",
|
||||
"preview": "vitepress preview"
|
||||
},
|
||||
"dependencies": {
|
||||
"vitepress": "^1.6.3"
|
||||
|
@ -9,9 +9,9 @@
|
||||
|
||||
[锦恢的 mcp 系列博客](https://kirigaya.cn/blog/search?q=mcp)
|
||||
|
||||
[OpenMCP 官方文档]()
|
||||
[OpenMCP 官方文档](https://kirigaya.cn/openmcp/plugin-tutorial)
|
||||
|
||||
[openmcp-sdk 官方文档]()
|
||||
[openmcp-sdk 官方文档](https://kirigaya.cn/openmcp/sdk-tutorial)
|
||||
|
||||
## 频道
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user