-
Notifications
You must be signed in to change notification settings - Fork 0
/
markdown-examples.html
86 lines (84 loc) · 34.5 KB
/
markdown-examples.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
<!DOCTYPE html>
<html lang="en-US" dir="ltr">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Markdown Extension Examples | LAOVA's blog</title>
<meta name="description" content="一个简约的个人博客">
<link rel="preload stylesheet" href="/assets/style.3e89f472.css" as="style">
<script type="module" src="/assets/app.fcb5811d.js"></script>
<link rel="preload" href="/assets/inter-roman-latin.2ed14f66.woff2" as="font" type="font/woff2" crossorigin="">
<link rel="modulepreload" href="/assets/chunks/framework.867ce416.js">
<link rel="modulepreload" href="/assets/chunks/theme.326fc285.js">
<link rel="modulepreload" href="/assets/markdown-examples.md.388bec65.lean.js">
<script id="check-dark-light">(()=>{const e=localStorage.getItem("vitepress-theme-appearance")||"auto",a=window.matchMedia("(prefers-color-scheme: dark)").matches;(!e||e==="auto"?a:e==="dark")&&document.documentElement.classList.add("dark")})();</script>
</head>
<body>
<div id="app"><div class="Layout" data-v-36a94545><!--[--><!--]--><!--[--><span tabindex="-1" data-v-b58735f1></span><a href="#VPContent" class="VPSkipLink visually-hidden" data-v-b58735f1> Skip to content </a><!--]--><!----><header class="VPNav" data-v-36a94545 data-v-f42b77d1><div class="VPNavBar" data-v-f42b77d1 data-v-fbd691fd><div class="container" data-v-fbd691fd><div class="title" data-v-fbd691fd><div class="VPNavBarTitle" data-v-fbd691fd data-v-b94dfad7><a class="title" href="/" data-v-b94dfad7><!--[--><!--]--><!--[--><img class="VPImage logo" src="logo.png" alt data-v-69626fab><!--]--><!--[-->LAOVA's blog<!--]--><!--[--><!--]--></a></div></div><div class="content" data-v-fbd691fd><div class="curtain" data-v-fbd691fd></div><div class="content-body" data-v-fbd691fd><!--[--><!--]--><div class="VPNavBarSearch search" style="--vp-meta-key:'Meta';" data-v-fbd691fd><!--[--><!----><div id="local-search"><button type="button" class="DocSearch DocSearch-Button" aria-label="Search"><span class="DocSearch-Button-Container"><svg class="DocSearch-Search-Icon" width="20" height="20" viewBox="0 0 20 20" aria-label="search icon"><path d="M14.386 14.386l4.0877 4.0877-4.0877-4.0877c-2.9418 2.9419-7.7115 2.9419-10.6533 0-2.9419-2.9418-2.9419-7.7115 0-10.6533 2.9418-2.9419 7.7115-2.9419 10.6533 0 2.9419 2.9418 2.9419 7.7115 0 10.6533z" stroke="currentColor" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"></path></svg><span class="DocSearch-Button-Placeholder">Search</span></span><span class="DocSearch-Button-Keys"><kbd class="DocSearch-Button-Key"></kbd><kbd class="DocSearch-Button-Key">K</kbd></span></button></div><!--]--></div><nav aria-labelledby="main-nav-aria-label" class="VPNavBarMenu menu" data-v-fbd691fd data-v-d40dc1b7><span id="main-nav-aria-label" class="visually-hidden" data-v-d40dc1b7>Main Navigation</span><!--[--><!--[--><a class="VPLink link VPNavBarMenuLink" href="/" tabindex="0" data-v-d40dc1b7 data-v-62ec6bbf><!--[--><span data-v-62ec6bbf>首页</span><!--]--></a><!--]--><!--[--><div class="VPFlyout VPNavBarMenuGroup" data-v-d40dc1b7 data-v-ed9ddb56><button type="button" class="button" aria-haspopup="true" aria-expanded="false" data-v-ed9ddb56><span class="text" data-v-ed9ddb56><!----><span data-v-ed9ddb56>前端笔记</span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" viewbox="0 0 24 24" class="text-icon" data-v-ed9ddb56><path d="M12,16c-0.3,0-0.5-0.1-0.7-0.3l-6-6c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l5.3,5.3l5.3-5.3c0.4-0.4,1-0.4,1.4,0s0.4,1,0,1.4l-6,6C12.5,15.9,12.3,16,12,16z"></path></svg></span></button><div class="menu" data-v-ed9ddb56><div class="VPMenu" data-v-ed9ddb56 data-v-068adb9e><div class="items" data-v-068adb9e><!--[--><!--[--><div class="VPMenuGroup" data-v-068adb9e data-v-7dd8da69><p class="title" data-v-7dd8da69>基础三件套</p><!--[--><!--[--><div class="VPMenuLink" data-v-7dd8da69 data-v-5c490bd9><a class="VPLink link" href="/markdowns/2%E3%80%81%E5%89%8D%E7%AB%AF%E7%AC%94%E8%AE%B0/1%EF%BC%89HTML.html" data-v-5c490bd9><!--[-->HTML<!--]--></a></div><!--]--><!--[--><div class="VPMenuLink" data-v-7dd8da69 data-v-5c490bd9><a class="VPLink link" href="/markdowns/2%E3%80%81%E5%89%8D%E7%AB%AF%E7%AC%94%E8%AE%B0/2%EF%BC%89CSS.html" data-v-5c490bd9><!--[-->CSS<!--]--></a></div><!--]--><!--[--><div class="VPMenuLink" data-v-7dd8da69 data-v-5c490bd9><a class="VPLink link" href="/markdowns/2%E3%80%81%E5%89%8D%E7%AB%AF%E7%AC%94%E8%AE%B0/3%EF%BC%89JavaScript.html" data-v-5c490bd9><!--[-->JavaScript<!--]--></a></div><!--]--><!--]--></div><!--]--><!--[--><div class="VPMenuGroup" data-v-068adb9e data-v-7dd8da69><p class="title" data-v-7dd8da69>前端进阶</p><!--[--><!--[--><div class="VPMenuLink" data-v-7dd8da69 data-v-5c490bd9><a class="VPLink link" href="/markdowns/2%E3%80%81%E5%89%8D%E7%AB%AF%E7%AC%94%E8%AE%B0/4%EF%BC%89%E7%A7%BB%E5%8A%A8Web%E5%BC%80%E5%8F%91.html" data-v-5c490bd9><!--[-->移动Web开发<!--]--></a></div><!--]--><!--[--><div class="VPMenuLink" data-v-7dd8da69 data-v-5c490bd9><a class="VPLink link" href="/markdowns/2%E3%80%81%E5%89%8D%E7%AB%AF%E7%AC%94%E8%AE%B0/5%EF%BC%89AJAX.html" data-v-5c490bd9><!--[-->AJAX<!--]--></a></div><!--]--><!--[--><div class="VPMenuLink" data-v-7dd8da69 data-v-5c490bd9><a class="VPLink link" href="/markdowns/2%E3%80%81%E5%89%8D%E7%AB%AF%E7%AC%94%E8%AE%B0/6%EF%BC%89Typescript.html" data-v-5c490bd9><!--[-->Typescript<!--]--></a></div><!--]--><!--[--><div class="VPMenuLink" data-v-7dd8da69 data-v-5c490bd9><a class="VPLink link" href="/markdowns/2%E3%80%81%E5%89%8D%E7%AB%AF%E7%AC%94%E8%AE%B0/7%EF%BC%89WebpackX.html" data-v-5c490bd9><!--[-->Webpack<!--]--></a></div><!--]--><!--]--></div><!--]--><!--[--><div class="VPMenuGroup" data-v-068adb9e data-v-7dd8da69><p class="title" data-v-7dd8da69>框架相关</p><!--[--><!--[--><div class="VPMenuLink" data-v-7dd8da69 data-v-5c490bd9><a class="VPLink link" href="/markdowns/2%E3%80%81%E5%89%8D%E7%AB%AF%E7%AC%94%E8%AE%B0/8%EF%BC%89jQuery.html" data-v-5c490bd9><!--[-->jQuery<!--]--></a></div><!--]--><!--[--><div class="VPMenuLink" data-v-7dd8da69 data-v-5c490bd9><a class="VPLink link" href="/markdowns/2%E3%80%81%E5%89%8D%E7%AB%AF%E7%AC%94%E8%AE%B0/9%EF%BC%89Vue%E7%94%9F%E6%80%81.html" data-v-5c490bd9><!--[-->Vue生态<!--]--></a></div><!--]--><!--]--></div><!--]--><!--]--></div><!--[--><!--]--></div></div></div><!--]--><!--[--><div class="VPFlyout VPNavBarMenuGroup" data-v-d40dc1b7 data-v-ed9ddb56><button type="button" class="button" aria-haspopup="true" aria-expanded="false" data-v-ed9ddb56><span class="text" data-v-ed9ddb56><!----><span data-v-ed9ddb56>后端笔记</span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" viewbox="0 0 24 24" class="text-icon" data-v-ed9ddb56><path d="M12,16c-0.3,0-0.5-0.1-0.7-0.3l-6-6c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l5.3,5.3l5.3-5.3c0.4-0.4,1-0.4,1.4,0s0.4,1,0,1.4l-6,6C12.5,15.9,12.3,16,12,16z"></path></svg></span></button><div class="menu" data-v-ed9ddb56><div class="VPMenu" data-v-ed9ddb56 data-v-068adb9e><div class="items" data-v-068adb9e><!--[--><!--[--><div class="VPMenuLink" data-v-068adb9e data-v-5c490bd9><a class="VPLink link" href="/markdowns/3%E3%80%81%E5%90%8E%E7%AB%AF%E7%AC%94%E8%AE%B0/1%EF%BC%89Node.js.html" data-v-5c490bd9><!--[-->Node.js<!--]--></a></div><!--]--><!--[--><div class="VPMenuLink" data-v-068adb9e data-v-5c490bd9><a class="VPLink link" href="/markdowns/3%E3%80%81%E5%90%8E%E7%AB%AF%E7%AC%94%E8%AE%B0/2%EF%BC%89%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84%E4%B8%8E%E7%AE%97%E6%B3%95.html" data-v-5c490bd9><!--[-->数据结构与算法<!--]--></a></div><!--]--><!--[--><div class="VPMenuLink" data-v-068adb9e data-v-5c490bd9><a class="VPLink link" href="/markdowns/3%E3%80%81%E5%90%8E%E7%AB%AF%E7%AC%94%E8%AE%B0/3%EF%BC%89Nginx%E7%9A%84%E5%9F%BA%E6%9C%AC%E4%BD%BF%E7%94%A8.html" data-v-5c490bd9><!--[-->Nginx的基本使用<!--]--></a></div><!--]--><!--]--></div><!--[--><!--]--></div></div></div><!--]--><!--[--><div class="VPFlyout VPNavBarMenuGroup" data-v-d40dc1b7 data-v-ed9ddb56><button type="button" class="button" aria-haspopup="true" aria-expanded="false" data-v-ed9ddb56><span class="text" data-v-ed9ddb56><!----><span data-v-ed9ddb56>实战项目</span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" viewbox="0 0 24 24" class="text-icon" data-v-ed9ddb56><path d="M12,16c-0.3,0-0.5-0.1-0.7-0.3l-6-6c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l5.3,5.3l5.3-5.3c0.4-0.4,1-0.4,1.4,0s0.4,1,0,1.4l-6,6C12.5,15.9,12.3,16,12,16z"></path></svg></span></button><div class="menu" data-v-ed9ddb56><div class="VPMenu" data-v-ed9ddb56 data-v-068adb9e><div class="items" data-v-068adb9e><!--[--><!--[--><div class="VPMenuLink" data-v-068adb9e data-v-5c490bd9><a class="VPLink link vp-external-link-icon" href="https://github.com/LAOVA/MIshopCode" target="_blank" rel="noreferrer" data-v-5c490bd9><!--[-->小米商城页面仿写<!--]--></a></div><!--]--><!--[--><div class="VPMenuLink" data-v-068adb9e data-v-5c490bd9><a class="VPLink link vp-external-link-icon" href="https://github.com/LAOVA/wy-music" target="_blank" rel="noreferrer" data-v-5c490bd9><!--[-->网易云音乐移动端仿写<!--]--></a></div><!--]--><!--[--><div class="VPMenuLink" data-v-068adb9e data-v-5c490bd9><a class="VPLink link vp-external-link-icon" href="https://github.com/LAOVA/ColorPlanet" target="_blank" rel="noreferrer" data-v-5c490bd9><!--[-->色彩星球小程序<!--]--></a></div><!--]--><!--[--><div class="VPMenuLink" data-v-068adb9e data-v-5c490bd9><a class="VPLink link vp-external-link-icon" href="https://github.com/LAOVA/IMsystem" target="_blank" rel="noreferrer" data-v-5c490bd9><!--[-->IM在线聊天系统<!--]--></a></div><!--]--><!--[--><div class="VPMenuLink" data-v-068adb9e data-v-5c490bd9><a class="VPLink link vp-external-link-icon" href="https://github.com/LAOVA/YQ-DLV" target="_blank" rel="noreferrer" data-v-5c490bd9><!--[-->疫情数据可视化<!--]--></a></div><!--]--><!--[--><div class="VPMenuLink" data-v-068adb9e data-v-5c490bd9><a class="VPLink link vp-external-link-icon" href="https://github.com/LAOVA/simpleCalculator" target="_blank" rel="noreferrer" data-v-5c490bd9><!--[-->简易win10计算器<!--]--></a></div><!--]--><!--[--><div class="VPMenuLink" data-v-068adb9e data-v-5c490bd9><a class="VPLink link vp-external-link-icon" href="https://github.com/LAOVA/HOK-MS" target="_blank" rel="noreferrer" data-v-5c490bd9><!--[-->王者荣耀官网镜像<!--]--></a></div><!--]--><!--]--></div><!--[--><!--]--></div></div></div><!--]--><!--]--></nav><!----><div class="VPNavBarAppearance appearance" data-v-fbd691fd data-v-92147df4><button class="VPSwitch VPSwitchAppearance" type="button" role="switch" title="toggle dark mode" aria-checked="false" data-v-92147df4 data-v-ffc7dbe8 data-v-92a3da0f><span class="check" data-v-92a3da0f><span class="icon" data-v-92a3da0f><!--[--><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" viewbox="0 0 24 24" class="sun" data-v-ffc7dbe8><path d="M12,18c-3.3,0-6-2.7-6-6s2.7-6,6-6s6,2.7,6,6S15.3,18,12,18zM12,8c-2.2,0-4,1.8-4,4c0,2.2,1.8,4,4,4c2.2,0,4-1.8,4-4C16,9.8,14.2,8,12,8z"></path><path d="M12,4c-0.6,0-1-0.4-1-1V1c0-0.6,0.4-1,1-1s1,0.4,1,1v2C13,3.6,12.6,4,12,4z"></path><path d="M12,24c-0.6,0-1-0.4-1-1v-2c0-0.6,0.4-1,1-1s1,0.4,1,1v2C13,23.6,12.6,24,12,24z"></path><path d="M5.6,6.6c-0.3,0-0.5-0.1-0.7-0.3L3.5,4.9c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l1.4,1.4c0.4,0.4,0.4,1,0,1.4C6.2,6.5,5.9,6.6,5.6,6.6z"></path><path d="M19.8,20.8c-0.3,0-0.5-0.1-0.7-0.3l-1.4-1.4c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l1.4,1.4c0.4,0.4,0.4,1,0,1.4C20.3,20.7,20,20.8,19.8,20.8z"></path><path d="M3,13H1c-0.6,0-1-0.4-1-1s0.4-1,1-1h2c0.6,0,1,0.4,1,1S3.6,13,3,13z"></path><path d="M23,13h-2c-0.6,0-1-0.4-1-1s0.4-1,1-1h2c0.6,0,1,0.4,1,1S23.6,13,23,13z"></path><path d="M4.2,20.8c-0.3,0-0.5-0.1-0.7-0.3c-0.4-0.4-0.4-1,0-1.4l1.4-1.4c0.4-0.4,1-0.4,1.4,0s0.4,1,0,1.4l-1.4,1.4C4.7,20.7,4.5,20.8,4.2,20.8z"></path><path d="M18.4,6.6c-0.3,0-0.5-0.1-0.7-0.3c-0.4-0.4-0.4-1,0-1.4l1.4-1.4c0.4-0.4,1-0.4,1.4,0s0.4,1,0,1.4l-1.4,1.4C18.9,6.5,18.6,6.6,18.4,6.6z"></path></svg><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" viewbox="0 0 24 24" class="moon" data-v-ffc7dbe8><path d="M12.1,22c-0.3,0-0.6,0-0.9,0c-5.5-0.5-9.5-5.4-9-10.9c0.4-4.8,4.2-8.6,9-9c0.4,0,0.8,0.2,1,0.5c0.2,0.3,0.2,0.8-0.1,1.1c-2,2.7-1.4,6.4,1.3,8.4c2.1,1.6,5,1.6,7.1,0c0.3-0.2,0.7-0.3,1.1-0.1c0.3,0.2,0.5,0.6,0.5,1c-0.2,2.7-1.5,5.1-3.6,6.8C16.6,21.2,14.4,22,12.1,22zM9.3,4.4c-2.9,1-5,3.6-5.2,6.8c-0.4,4.4,2.8,8.3,7.2,8.7c2.1,0.2,4.2-0.4,5.8-1.8c1.1-0.9,1.9-2.1,2.4-3.4c-2.5,0.9-5.3,0.5-7.5-1.1C9.2,11.4,8.1,7.7,9.3,4.4z"></path></svg><!--]--></span></span></button></div><div class="VPSocialLinks VPNavBarSocialLinks social-links" data-v-fbd691fd data-v-ae2ff148 data-v-1862af54><!--[--><a class="VPSocialLink no-icon" href="https://github.com/LAOVA" aria-label="github" target="_blank" rel="noopener" data-v-1862af54 data-v-49b8b29f><svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>GitHub</title><path d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"/></svg></a><!--]--></div><div class="VPFlyout VPNavBarExtra extra" data-v-fbd691fd data-v-e8fd4305 data-v-ed9ddb56><button type="button" class="button" aria-haspopup="true" aria-expanded="false" aria-label="extra navigation" data-v-ed9ddb56><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" viewbox="0 0 24 24" class="icon" data-v-ed9ddb56><circle cx="12" cy="12" r="2"></circle><circle cx="19" cy="12" r="2"></circle><circle cx="5" cy="12" r="2"></circle></svg></button><div class="menu" data-v-ed9ddb56><div class="VPMenu" data-v-ed9ddb56 data-v-068adb9e><!----><!--[--><!--[--><!----><div class="group" data-v-e8fd4305><div class="item appearance" data-v-e8fd4305><p class="label" data-v-e8fd4305>Appearance</p><div class="appearance-action" data-v-e8fd4305><button class="VPSwitch VPSwitchAppearance" type="button" role="switch" title="toggle dark mode" aria-checked="false" data-v-e8fd4305 data-v-ffc7dbe8 data-v-92a3da0f><span class="check" data-v-92a3da0f><span class="icon" data-v-92a3da0f><!--[--><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" viewbox="0 0 24 24" class="sun" data-v-ffc7dbe8><path d="M12,18c-3.3,0-6-2.7-6-6s2.7-6,6-6s6,2.7,6,6S15.3,18,12,18zM12,8c-2.2,0-4,1.8-4,4c0,2.2,1.8,4,4,4c2.2,0,4-1.8,4-4C16,9.8,14.2,8,12,8z"></path><path d="M12,4c-0.6,0-1-0.4-1-1V1c0-0.6,0.4-1,1-1s1,0.4,1,1v2C13,3.6,12.6,4,12,4z"></path><path d="M12,24c-0.6,0-1-0.4-1-1v-2c0-0.6,0.4-1,1-1s1,0.4,1,1v2C13,23.6,12.6,24,12,24z"></path><path d="M5.6,6.6c-0.3,0-0.5-0.1-0.7-0.3L3.5,4.9c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l1.4,1.4c0.4,0.4,0.4,1,0,1.4C6.2,6.5,5.9,6.6,5.6,6.6z"></path><path d="M19.8,20.8c-0.3,0-0.5-0.1-0.7-0.3l-1.4-1.4c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l1.4,1.4c0.4,0.4,0.4,1,0,1.4C20.3,20.7,20,20.8,19.8,20.8z"></path><path d="M3,13H1c-0.6,0-1-0.4-1-1s0.4-1,1-1h2c0.6,0,1,0.4,1,1S3.6,13,3,13z"></path><path d="M23,13h-2c-0.6,0-1-0.4-1-1s0.4-1,1-1h2c0.6,0,1,0.4,1,1S23.6,13,23,13z"></path><path d="M4.2,20.8c-0.3,0-0.5-0.1-0.7-0.3c-0.4-0.4-0.4-1,0-1.4l1.4-1.4c0.4-0.4,1-0.4,1.4,0s0.4,1,0,1.4l-1.4,1.4C4.7,20.7,4.5,20.8,4.2,20.8z"></path><path d="M18.4,6.6c-0.3,0-0.5-0.1-0.7-0.3c-0.4-0.4-0.4-1,0-1.4l1.4-1.4c0.4-0.4,1-0.4,1.4,0s0.4,1,0,1.4l-1.4,1.4C18.9,6.5,18.6,6.6,18.4,6.6z"></path></svg><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" viewbox="0 0 24 24" class="moon" data-v-ffc7dbe8><path d="M12.1,22c-0.3,0-0.6,0-0.9,0c-5.5-0.5-9.5-5.4-9-10.9c0.4-4.8,4.2-8.6,9-9c0.4,0,0.8,0.2,1,0.5c0.2,0.3,0.2,0.8-0.1,1.1c-2,2.7-1.4,6.4,1.3,8.4c2.1,1.6,5,1.6,7.1,0c0.3-0.2,0.7-0.3,1.1-0.1c0.3,0.2,0.5,0.6,0.5,1c-0.2,2.7-1.5,5.1-3.6,6.8C16.6,21.2,14.4,22,12.1,22zM9.3,4.4c-2.9,1-5,3.6-5.2,6.8c-0.4,4.4,2.8,8.3,7.2,8.7c2.1,0.2,4.2-0.4,5.8-1.8c1.1-0.9,1.9-2.1,2.4-3.4c-2.5,0.9-5.3,0.5-7.5-1.1C9.2,11.4,8.1,7.7,9.3,4.4z"></path></svg><!--]--></span></span></button></div></div></div><div class="group" data-v-e8fd4305><div class="item social-links" data-v-e8fd4305><div class="VPSocialLinks social-links-list" data-v-e8fd4305 data-v-1862af54><!--[--><a class="VPSocialLink no-icon" href="https://github.com/LAOVA" aria-label="github" target="_blank" rel="noopener" data-v-1862af54 data-v-49b8b29f><svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>GitHub</title><path d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"/></svg></a><!--]--></div></div></div><!--]--><!--]--></div></div></div><!--[--><!--]--><button type="button" class="VPNavBarHamburger hamburger" aria-label="mobile navigation" aria-expanded="false" aria-controls="VPNavScreen" data-v-fbd691fd data-v-17848118><span class="container" data-v-17848118><span class="top" data-v-17848118></span><span class="middle" data-v-17848118></span><span class="bottom" data-v-17848118></span></span></button></div></div></div></div><!----></header><div class="VPLocalNav fixed reached-top" data-v-36a94545 data-v-1ea073ff><!----><div class="VPLocalNavOutlineDropdown" style="--vp-vh:0px;" data-v-1ea073ff data-v-d7cc20e4><button data-v-d7cc20e4>Return to top</button><!----></div></div><!----><div class="VPContent" id="VPContent" data-v-36a94545 data-v-6c25de4f><div class="VPDoc has-aside" data-v-6c25de4f data-v-2e3d7f17><!--[--><!--]--><div class="container" data-v-2e3d7f17><div class="aside" data-v-2e3d7f17><div class="aside-curtain" data-v-2e3d7f17></div><div class="aside-container" data-v-2e3d7f17><div class="aside-content" data-v-2e3d7f17><div class="VPDocAside" data-v-2e3d7f17 data-v-551d3d3b><!--[--><!--]--><!--[--><!--]--><div class="VPDocAsideOutline" role="navigation" data-v-551d3d3b data-v-880789e5><div class="content" data-v-880789e5><div class="outline-marker" data-v-880789e5></div><div class="outline-title" role="heading" data-v-880789e5>目录</div><nav aria-labelledby="doc-outline-aria-label" data-v-880789e5><span class="visually-hidden" id="doc-outline-aria-label" data-v-880789e5> Table of Contents for current page </span><ul class="root" data-v-880789e5 data-v-aa118b08><!--[--><!--]--></ul></nav></div></div><!--[--><!--]--><div class="spacer" data-v-551d3d3b></div><!--[--><!--]--><!----><!--[--><!--]--><!--[--><!--]--></div></div></div></div><div class="content" data-v-2e3d7f17><div class="content-container" data-v-2e3d7f17><!--[--><!--]--><!----><main class="main" data-v-2e3d7f17><div style="position:relative;" class="vp-doc _markdown-examples" data-v-2e3d7f17><div><h1 id="markdown-extension-examples" tabindex="-1">Markdown Extension Examples <a class="header-anchor" href="#markdown-extension-examples" aria-label="Permalink to "Markdown Extension Examples""></a></h1><p>This page demonstrates some of the built-in markdown extensions provided by VitePress.</p><h2 id="syntax-highlighting" tabindex="-1">Syntax Highlighting <a class="header-anchor" href="#syntax-highlighting" aria-label="Permalink to "Syntax Highlighting""></a></h2><p>VitePress provides Syntax Highlighting powered by <a href="https://github.com/shikijs/shiki" target="_blank" rel="noreferrer">Shiki</a>, with additional features like line-highlighting:</p><p><strong>Input</strong></p><div class="language- vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang"></span><pre class="shiki vitesse-dark vp-code-dark"><code><span class="line"><span style="color:#dbd7caee;">```js{4}</span></span>
<span class="line"><span style="color:#dbd7caee;">export default {</span></span>
<span class="line"><span style="color:#dbd7caee;"> data () {</span></span>
<span class="line"><span style="color:#dbd7caee;"> return {</span></span>
<span class="line"><span style="color:#dbd7caee;"> msg: 'Highlighted!'</span></span>
<span class="line"><span style="color:#dbd7caee;"> }</span></span>
<span class="line"><span style="color:#dbd7caee;"> }</span></span>
<span class="line"><span style="color:#dbd7caee;">}</span></span>
<span class="line"><span style="color:#dbd7caee;">```</span></span></code></pre><pre class="shiki vitesse-light vp-code-light"><code><span class="line"><span style="color:#393a34;">```js{4}</span></span>
<span class="line"><span style="color:#393a34;">export default {</span></span>
<span class="line"><span style="color:#393a34;"> data () {</span></span>
<span class="line"><span style="color:#393a34;"> return {</span></span>
<span class="line"><span style="color:#393a34;"> msg: 'Highlighted!'</span></span>
<span class="line"><span style="color:#393a34;"> }</span></span>
<span class="line"><span style="color:#393a34;"> }</span></span>
<span class="line"><span style="color:#393a34;">}</span></span>
<span class="line"><span style="color:#393a34;">```</span></span></code></pre></div><p><strong>Output</strong></p><div class="language-js vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">js</span><pre class="shiki vitesse-dark has-highlighted-lines vp-code-dark"><code><span class="line"><span style="color:#4D9375;">export</span><span style="color:#DBD7CAEE;"> </span><span style="color:#4D9375;">default</span><span style="color:#DBD7CAEE;"> </span><span style="color:#666666;">{</span></span>
<span class="line"><span style="color:#DBD7CAEE;"> </span><span style="color:#80A665;">data</span><span style="color:#DBD7CAEE;"> </span><span style="color:#666666;">()</span><span style="color:#DBD7CAEE;"> </span><span style="color:#666666;">{</span></span>
<span class="line"><span style="color:#DBD7CAEE;"> </span><span style="color:#4D9375;">return</span><span style="color:#DBD7CAEE;"> </span><span style="color:#666666;">{</span></span>
<span class="line highlighted"><span style="color:#DBD7CAEE;"> </span><span style="color:#B8A965;">msg</span><span style="color:#666666;">:</span><span style="color:#DBD7CAEE;"> </span><span style="color:#C98A7D99;">'</span><span style="color:#C98A7D;">Highlighted!</span><span style="color:#C98A7D99;">'</span></span>
<span class="line"><span style="color:#DBD7CAEE;"> </span><span style="color:#666666;">}</span></span>
<span class="line"><span style="color:#DBD7CAEE;"> </span><span style="color:#666666;">}</span></span>
<span class="line"><span style="color:#666666;">}</span></span></code></pre><pre class="shiki vitesse-light has-highlighted-lines vp-code-light"><code><span class="line"><span style="color:#1E754F;">export</span><span style="color:#393A34;"> </span><span style="color:#1E754F;">default</span><span style="color:#393A34;"> </span><span style="color:#999999;">{</span></span>
<span class="line"><span style="color:#393A34;"> </span><span style="color:#59873A;">data</span><span style="color:#393A34;"> </span><span style="color:#999999;">()</span><span style="color:#393A34;"> </span><span style="color:#999999;">{</span></span>
<span class="line"><span style="color:#393A34;"> </span><span style="color:#1E754F;">return</span><span style="color:#393A34;"> </span><span style="color:#999999;">{</span></span>
<span class="line highlighted"><span style="color:#393A34;"> </span><span style="color:#998418;">msg</span><span style="color:#999999;">:</span><span style="color:#393A34;"> </span><span style="color:#B5695999;">'</span><span style="color:#B56959;">Highlighted!</span><span style="color:#B5695999;">'</span></span>
<span class="line"><span style="color:#393A34;"> </span><span style="color:#999999;">}</span></span>
<span class="line"><span style="color:#393A34;"> </span><span style="color:#999999;">}</span></span>
<span class="line"><span style="color:#999999;">}</span></span></code></pre></div><h2 id="custom-containers" tabindex="-1">Custom Containers <a class="header-anchor" href="#custom-containers" aria-label="Permalink to "Custom Containers""></a></h2><p><strong>Input</strong></p><div class="language-md vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">md</span><pre class="shiki vitesse-dark vp-code-dark"><code><span class="line"><span style="color:#DBD7CAEE;">::: info</span></span>
<span class="line"><span style="color:#DBD7CAEE;">This is an info box.</span></span>
<span class="line"><span style="color:#DBD7CAEE;">:::</span></span>
<span class="line"></span>
<span class="line"><span style="color:#DBD7CAEE;">::: tip</span></span>
<span class="line"><span style="color:#DBD7CAEE;">This is a tip.</span></span>
<span class="line"><span style="color:#DBD7CAEE;">:::</span></span>
<span class="line"></span>
<span class="line"><span style="color:#DBD7CAEE;">::: warning</span></span>
<span class="line"><span style="color:#DBD7CAEE;">This is a warning.</span></span>
<span class="line"><span style="color:#DBD7CAEE;">:::</span></span>
<span class="line"></span>
<span class="line"><span style="color:#DBD7CAEE;">::: danger</span></span>
<span class="line"><span style="color:#DBD7CAEE;">This is a dangerous warning.</span></span>
<span class="line"><span style="color:#DBD7CAEE;">:::</span></span>
<span class="line"></span>
<span class="line"><span style="color:#DBD7CAEE;">::: details</span></span>
<span class="line"><span style="color:#DBD7CAEE;">This is a details block.</span></span>
<span class="line"><span style="color:#DBD7CAEE;">:::</span></span></code></pre><pre class="shiki vitesse-light vp-code-light"><code><span class="line"><span style="color:#393A34;">::: info</span></span>
<span class="line"><span style="color:#393A34;">This is an info box.</span></span>
<span class="line"><span style="color:#393A34;">:::</span></span>
<span class="line"></span>
<span class="line"><span style="color:#393A34;">::: tip</span></span>
<span class="line"><span style="color:#393A34;">This is a tip.</span></span>
<span class="line"><span style="color:#393A34;">:::</span></span>
<span class="line"></span>
<span class="line"><span style="color:#393A34;">::: warning</span></span>
<span class="line"><span style="color:#393A34;">This is a warning.</span></span>
<span class="line"><span style="color:#393A34;">:::</span></span>
<span class="line"></span>
<span class="line"><span style="color:#393A34;">::: danger</span></span>
<span class="line"><span style="color:#393A34;">This is a dangerous warning.</span></span>
<span class="line"><span style="color:#393A34;">:::</span></span>
<span class="line"></span>
<span class="line"><span style="color:#393A34;">::: details</span></span>
<span class="line"><span style="color:#393A34;">This is a details block.</span></span>
<span class="line"><span style="color:#393A34;">:::</span></span></code></pre></div><p><strong>Output</strong></p><div class="info custom-block"><p class="custom-block-title">INFO</p><p>This is an info box.</p></div><div class="tip custom-block"><p class="custom-block-title">TIP</p><p>This is a tip.</p></div><div class="warning custom-block"><p class="custom-block-title">WARNING</p><p>This is a warning.</p></div><div class="danger custom-block"><p class="custom-block-title">DANGER</p><p>This is a dangerous warning.</p></div><details class="details custom-block"><summary>Details</summary><p>This is a details block.</p></details><h2 id="more" tabindex="-1">More <a class="header-anchor" href="#more" aria-label="Permalink to "More""></a></h2><p>Check out the documentation for the <a href="https://vitepress.dev/guide/markdown" target="_blank" rel="noreferrer">full list of markdown extensions</a>.</p></div></div></main><footer class="VPDocFooter" data-v-2e3d7f17 data-v-e368b621><!--[--><!--]--><!----><!----></footer><!--[--><!--]--></div></div></div><!--[--><!--]--></div></div><!----><!--[--><!--]--></div></div>
<script>window.__VP_HASH_MAP__=JSON.parse("{\"index.md\":\"e3bb6efd\",\"markdowns_1、知识大门_1)开发必备清单.md\":\"617629d8\",\"api-examples.md\":\"4031b334\",\"markdown-examples.md\":\"388bec65\",\"markdowns_2、前端笔记_1)html.md\":\"c43b8d7f\",\"markdowns_2、前端笔记_2)css.md\":\"37a46b7c\",\"markdowns_2、前端笔记_3)javascript.md\":\"570303ed\",\"markdowns_2、前端笔记_5)ajax.md\":\"f0deb809\",\"markdowns_2、前端笔记_8)jquery.md\":\"1e97a7ca\",\"markdowns_2、前端笔记_6)typescript.md\":\"005d54ba\",\"markdowns_2、前端笔记_4)移动web开发.md\":\"78a264a1\",\"markdowns_3、后端笔记_3)nginx的基本使用.md\":\"cc4364da\",\"markdowns_4、杂七杂八_2)开发技巧_webgis.md\":\"31bc98a9\",\"markdowns_4、杂七杂八_2)开发技巧_git.md\":\"8b5768f9\",\"markdowns_2、前端笔记_9)vue生态.md\":\"16968e40\",\"markdowns_4、杂七杂八_1)面经_常见面试题.md\":\"ca61199a\",\"markdowns_4、杂七杂八_1)面经_腾讯wxg面试题.md\":\"a89ac45f\",\"markdowns_4、杂七杂八_1)面经_yy直播面试题.md\":\"9c1e9389\",\"markdowns_3、后端笔记_1)node.js.md\":\"91336702\",\"markdowns_2、前端笔记_7)webpack.md\":\"3b6e9c61\",\"markdowns_3、后端笔记_4)nest.js.md\":\"73e56b4d\",\"markdowns_3、后端笔记_2)数据结构与算法.md\":\"ff94b472\",\"markdowns_4、杂七杂八_2)开发技巧_tips.md\":\"4b22e3dc\"}");window.__VP_SITE_DATA__=JSON.parse("{\"lang\":\"en-US\",\"dir\":\"ltr\",\"title\":\"LAOVA's blog\",\"description\":\"一个简约的个人博客\",\"base\":\"/\",\"head\":[],\"appearance\":true,\"themeConfig\":{\"logo\":\"logo.png\",\"search\":{\"provider\":\"local\"},\"nav\":[{\"text\":\"首页\",\"link\":\"/\"},{\"text\":\"前端笔记\",\"items\":[{\"text\":\"基础三件套\",\"items\":[{\"text\":\"HTML\",\"link\":\"/markdowns/2、前端笔记/1)HTML\"},{\"text\":\"CSS\",\"link\":\"/markdowns/2、前端笔记/2)CSS\"},{\"text\":\"JavaScript\",\"link\":\"/markdowns/2、前端笔记/3)JavaScript\"}]},{\"text\":\"前端进阶\",\"items\":[{\"text\":\"移动Web开发\",\"link\":\"/markdowns/2、前端笔记/4)移动Web开发\"},{\"text\":\"AJAX\",\"link\":\"/markdowns/2、前端笔记/5)AJAX\"},{\"text\":\"Typescript\",\"link\":\"/markdowns/2、前端笔记/6)Typescript\"},{\"text\":\"Webpack\",\"link\":\"/markdowns/2、前端笔记/7)WebpackX\"}]},{\"text\":\"框架相关\",\"items\":[{\"text\":\"jQuery\",\"link\":\"/markdowns/2、前端笔记/8)jQuery\"},{\"text\":\"Vue生态\",\"link\":\"/markdowns/2、前端笔记/9)Vue生态\"}]}]},{\"text\":\"后端笔记\",\"items\":[{\"text\":\"Node.js\",\"link\":\"/markdowns/3、后端笔记/1)Node.js\"},{\"text\":\"数据结构与算法\",\"link\":\"/markdowns/3、后端笔记/2)数据结构与算法\"},{\"text\":\"Nginx的基本使用\",\"link\":\"/markdowns/3、后端笔记/3)Nginx的基本使用\"}]},{\"text\":\"实战项目\",\"items\":[{\"text\":\"小米商城页面仿写\",\"link\":\"https://github.com/LAOVA/MIshopCode\"},{\"text\":\"网易云音乐移动端仿写\",\"link\":\"https://github.com/LAOVA/wy-music\"},{\"text\":\"色彩星球小程序\",\"link\":\"https://github.com/LAOVA/ColorPlanet\"},{\"text\":\"IM在线聊天系统\",\"link\":\"https://github.com/LAOVA/IMsystem\"},{\"text\":\"疫情数据可视化\",\"link\":\"https://github.com/LAOVA/YQ-DLV\"},{\"text\":\"简易win10计算器\",\"link\":\"https://github.com/LAOVA/simpleCalculator\"},{\"text\":\"王者荣耀官网镜像\",\"link\":\"https://github.com/LAOVA/HOK-MS\"}]}],\"outline\":{\"level\":[1,4],\"label\":\"目录\"},\"sidebar\":{\"/markdowns/\":[{\"items\":[{\"text\":\"1、知识大门\",\"items\":[{\"text\":\"1)开发必备清单\",\"link\":\"/markdowns/1、知识大门/1)开发必备清单.html\"}],\"collapsed\":false},{\"text\":\"2、前端笔记\",\"items\":[{\"text\":\"1)HTML\",\"link\":\"/markdowns/2、前端笔记/1)HTML.html\"},{\"text\":\"2)CSS\",\"link\":\"/markdowns/2、前端笔记/2)CSS.html\"},{\"text\":\"3)JavaScript\",\"link\":\"/markdowns/2、前端笔记/3)JavaScript.html\"},{\"text\":\"4)移动Web开发\",\"link\":\"/markdowns/2、前端笔记/4)移动Web开发.html\"},{\"text\":\"5)AJAX\",\"link\":\"/markdowns/2、前端笔记/5)AJAX.html\"},{\"text\":\"6)Typescript\",\"link\":\"/markdowns/2、前端笔记/6)Typescript.html\"},{\"text\":\"7)Webpack\",\"link\":\"/markdowns/2、前端笔记/7)Webpack.html\"},{\"text\":\"8)jQuery\",\"link\":\"/markdowns/2、前端笔记/8)jQuery.html\"},{\"text\":\"9)Vue生态\",\"link\":\"/markdowns/2、前端笔记/9)Vue生态.html\"}],\"collapsed\":false},{\"text\":\"3、后端笔记\",\"items\":[{\"text\":\"1)Node.js\",\"link\":\"/markdowns/3、后端笔记/1)Node.js.html\"},{\"text\":\"2)数据结构与算法\",\"link\":\"/markdowns/3、后端笔记/2)数据结构与算法.html\"},{\"text\":\"3)Nginx的基本使用\",\"link\":\"/markdowns/3、后端笔记/3)Nginx的基本使用.html\"},{\"text\":\"4)Nest.js\",\"link\":\"/markdowns/3、后端笔记/4)Nest.js.html\"}],\"collapsed\":false},{\"text\":\"4、杂七杂八\",\"items\":[{\"text\":\"1)面经\",\"items\":[{\"text\":\"YY直播面试题\",\"link\":\"/markdowns/4、杂七杂八/1)面经/YY直播面试题.html\"},{\"text\":\"常见面试题\",\"link\":\"/markdowns/4、杂七杂八/1)面经/常见面试题.html\"},{\"text\":\"腾讯wxg面试题\",\"link\":\"/markdowns/4、杂七杂八/1)面经/腾讯wxg面试题.html\"}],\"collapsed\":false},{\"text\":\"2)开发技巧\",\"items\":[{\"text\":\"Git\",\"link\":\"/markdowns/4、杂七杂八/2)开发技巧/Git.html\"},{\"text\":\"Tips\",\"link\":\"/markdowns/4、杂七杂八/2)开发技巧/Tips.html\"},{\"text\":\"WebGIS\",\"link\":\"/markdowns/4、杂七杂八/2)开发技巧/WebGIS.html\"}],\"collapsed\":false}],\"collapsed\":false}]}],\"/modules/\":[{\"items\":[{\"text\":\"navbar.ts\",\"link\":\"/modules/navbar.ts.html\"}]}],\"/public/\":[{\"items\":[{\"text\":\"logo.png\",\"link\":\"/public/logo.png.html\"}]}]},\"socialLinks\":[{\"icon\":\"github\",\"link\":\"https://github.com/LAOVA\"}]},\"locales\":{},\"scrollOffset\":90,\"cleanUrls\":false}");</script>
</body>
</html>