mirror of
https://github.com/hpware/news-analyze.git
synced 2025-06-23 15:51:01 +08:00
Ran prettier
This commit is contained in:
parent
d6024a5328
commit
935a7f2737
@ -7,3 +7,4 @@
|
||||
sentry*
|
||||
package.json
|
||||
node_modules
|
||||
/public/docs
|
||||
|
@ -1,8 +1,8 @@
|
||||
#!/bin/bash
|
||||
cd ./docs/
|
||||
npm install -g vitepress
|
||||
bunx vitepress build
|
||||
cd ..
|
||||
cp -R ./docs/.vitepress/dist/ ./public/docs/
|
||||
echo "Done :)"
|
||||
exit 1
|
||||
bunx vitepress build
|
||||
cd ..
|
||||
cp -R ./docs/.vitepress/dist/ ./public/docs/
|
||||
echo "Done :)"
|
||||
exit 1
|
||||
|
@ -1,22 +1,50 @@
|
||||
<!DOCTYPE html>
|
||||
<!doctype html>
|
||||
<html lang="en-US" dir="ltr">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1" />
|
||||
<title>404 | News Analzye Docs</title>
|
||||
<meta name="description" content="Not Found">
|
||||
<meta name="generator" content="VitePress v1.6.3">
|
||||
<link rel="preload stylesheet" href="/docs/assets/style.DuOwLuGy.css" as="style">
|
||||
<link rel="preload stylesheet" href="/docs/vp-icons.css" as="style">
|
||||
<meta name="description" content="Not Found" />
|
||||
<meta name="generator" content="VitePress v1.6.3" />
|
||||
<link
|
||||
rel="preload stylesheet"
|
||||
href="/docs/assets/style.DuOwLuGy.css"
|
||||
as="style"
|
||||
/>
|
||||
<link rel="preload stylesheet" href="/docs/vp-icons.css" as="style" />
|
||||
|
||||
<script type="module" src="/docs/assets/app.Da36Cfp3.js"></script>
|
||||
<link rel="preload" href="/docs/assets/inter-roman-latin.Di8DUHzh.woff2" as="font" type="font/woff2" crossorigin="">
|
||||
<script id="check-dark-mode">(()=>{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>
|
||||
<script id="check-mac-os">document.documentElement.classList.toggle("mac",/Mac|iPhone|iPod|iPad/i.test(navigator.platform));</script>
|
||||
<link
|
||||
rel="preload"
|
||||
href="/docs/assets/inter-roman-latin.Di8DUHzh.woff2"
|
||||
as="font"
|
||||
type="font/woff2"
|
||||
crossorigin=""
|
||||
/>
|
||||
<script id="check-dark-mode">
|
||||
(() => {
|
||||
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>
|
||||
<script id="check-mac-os">
|
||||
document.documentElement.classList.toggle(
|
||||
"mac",
|
||||
/Mac|iPhone|iPod|iPad/i.test(navigator.platform),
|
||||
);
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
<script>window.__VP_HASH_MAP__=JSON.parse("{\"api-examples.md\":\"B5cbNgMl\",\"index.md\":\"ZzqtzDg7\",\"markdown-examples.md\":\"OYFiuX35\"}");window.__VP_SITE_DATA__=JSON.parse("{\"lang\":\"en-US\",\"dir\":\"ltr\",\"title\":\"News Analzye Docs\",\"description\":\"The documentation for news analyze the project.\",\"base\":\"/docs/\",\"head\":[],\"router\":{\"prefetchLinks\":true},\"appearance\":true,\"themeConfig\":{\"nav\":[{\"text\":\"Home\",\"link\":\"/\"},{\"text\":\"Examples\",\"link\":\"/markdown-examples\"}],\"sidebar\":[{\"text\":\"Examples\",\"items\":[{\"text\":\"Markdown Examples\",\"link\":\"/markdown-examples\"},{\"text\":\"Runtime API Examples\",\"link\":\"/api-examples\"}]}],\"socialLinks\":[{\"icon\":\"github\",\"link\":\"https://github.com/vuejs/vitepress\"}]},\"locales\":{},\"scrollOffset\":134,\"cleanUrls\":false}");</script>
|
||||
|
||||
<script>
|
||||
window.__VP_HASH_MAP__ = JSON.parse(
|
||||
'{"api-examples.md":"B5cbNgMl","index.md":"ZzqtzDg7","markdown-examples.md":"OYFiuX35"}',
|
||||
);
|
||||
window.__VP_SITE_DATA__ = JSON.parse(
|
||||
'{"lang":"en-US","dir":"ltr","title":"News Analzye Docs","description":"The documentation for news analyze the project.","base":"/docs/","head":[],"router":{"prefetchLinks":true},"appearance":true,"themeConfig":{"nav":[{"text":"Home","link":"/"},{"text":"Examples","link":"/markdown-examples"}],"sidebar":[{"text":"Examples","items":[{"text":"Markdown Examples","link":"/markdown-examples"},{"text":"Runtime API Examples","link":"/api-examples"}]}],"socialLinks":[{"icon":"github","link":"https://github.com/vuejs/vitepress"}]},"locales":{},"scrollOffset":134,"cleanUrls":false}',
|
||||
);
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
File diff suppressed because one or more lines are too long
@ -1,4 +1,26 @@
|
||||
import{u as p,c as h,o,ae as d,j as a,t,k as i,a as s}from"./chunks/framework.WowTybjF.js";const f=JSON.parse('{"title":"Runtime API Examples","description":"","frontmatter":{"outline":"deep"},"headers":[],"relativePath":"api-examples.md","filePath":"api-examples.md"}'),m={name:"api-examples.md"},E=Object.assign(m,{setup(k){const{site:g,theme:n,page:l,frontmatter:r}=p();return(c,e)=>(o(),h("div",null,[e[0]||(e[0]=d(`<h1 id="runtime-api-examples" tabindex="-1">Runtime API Examples <a class="header-anchor" href="#runtime-api-examples" aria-label="Permalink to "Runtime API Examples""></a></h1><p>This page demonstrates usage of some of the runtime APIs provided by VitePress.</p><p>The main <code>useData()</code> API can be used to access site, theme, and page data for the current page. It works in both <code>.md</code> and <code>.vue</code> files:</p><div class="language-md vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">md</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"><script setup></span></span>
|
||||
import {
|
||||
u as p,
|
||||
c as h,
|
||||
o,
|
||||
ae as d,
|
||||
j as a,
|
||||
t,
|
||||
k as i,
|
||||
a as s,
|
||||
} from "./chunks/framework.WowTybjF.js";
|
||||
const f = JSON.parse(
|
||||
'{"title":"Runtime API Examples","description":"","frontmatter":{"outline":"deep"},"headers":[],"relativePath":"api-examples.md","filePath":"api-examples.md"}',
|
||||
),
|
||||
m = { name: "api-examples.md" },
|
||||
E = Object.assign(m, {
|
||||
setup(k) {
|
||||
const { site: g, theme: n, page: l, frontmatter: r } = p();
|
||||
return (c, e) => (
|
||||
o(),
|
||||
h("div", null, [
|
||||
e[0] ||
|
||||
(e[0] = d(
|
||||
`<h1 id="runtime-api-examples" tabindex="-1">Runtime API Examples <a class="header-anchor" href="#runtime-api-examples" aria-label="Permalink to "Runtime API Examples""></a></h1><p>This page demonstrates usage of some of the runtime APIs provided by VitePress.</p><p>The main <code>useData()</code> API can be used to access site, theme, and page data for the current page. It works in both <code>.md</code> and <code>.vue</code> files:</p><div class="language-md vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">md</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"><script setup></span></span>
|
||||
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">import { useData } from 'vitepress'</span></span>
|
||||
<span class="line"></span>
|
||||
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">const { theme, page, frontmatter } = useData()</span></span>
|
||||
@ -13,4 +35,87 @@ import{u as p,c as h,o,ae as d,j as a,t,k as i,a as s}from"./chunks/framework.Wo
|
||||
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"><pre>{{ page }}</pre></span></span>
|
||||
<span class="line"></span>
|
||||
<span class="line"><span style="--shiki-light:#005CC5;--shiki-light-font-weight:bold;--shiki-dark:#79B8FF;--shiki-dark-font-weight:bold;">### Page Frontmatter</span></span>
|
||||
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"><pre>{{ frontmatter }}</pre></span></span></code></pre></div><h2 id="results" tabindex="-1">Results <a class="header-anchor" href="#results" aria-label="Permalink to "Results""></a></h2><h3 id="theme-data" tabindex="-1">Theme Data <a class="header-anchor" href="#theme-data" aria-label="Permalink to "Theme Data""></a></h3>`,6)),a("pre",null,t(i(n)),1),e[1]||(e[1]=a("h3",{id:"page-data",tabindex:"-1"},[s("Page Data "),a("a",{class:"header-anchor",href:"#page-data","aria-label":'Permalink to "Page Data"'},"")],-1)),a("pre",null,t(i(l)),1),e[2]||(e[2]=a("h3",{id:"page-frontmatter",tabindex:"-1"},[s("Page Frontmatter "),a("a",{class:"header-anchor",href:"#page-frontmatter","aria-label":'Permalink to "Page Frontmatter"'},"")],-1)),a("pre",null,t(i(r)),1),e[3]||(e[3]=a("h2",{id:"more",tabindex:"-1"},[s("More "),a("a",{class:"header-anchor",href:"#more","aria-label":'Permalink to "More"'},"")],-1)),e[4]||(e[4]=a("p",null,[s("Check out the documentation for the "),a("a",{href:"https://vitepress.dev/reference/runtime-api#usedata",target:"_blank",rel:"noreferrer"},"full list of runtime APIs"),s(".")],-1))]))}});export{f as __pageData,E as default};
|
||||
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"><pre>{{ frontmatter }}</pre></span></span></code></pre></div><h2 id="results" tabindex="-1">Results <a class="header-anchor" href="#results" aria-label="Permalink to "Results""></a></h2><h3 id="theme-data" tabindex="-1">Theme Data <a class="header-anchor" href="#theme-data" aria-label="Permalink to "Theme Data""></a></h3>`,
|
||||
6,
|
||||
)),
|
||||
a("pre", null, t(i(n)), 1),
|
||||
e[1] ||
|
||||
(e[1] = a(
|
||||
"h3",
|
||||
{ id: "page-data", tabindex: "-1" },
|
||||
[
|
||||
s("Page Data "),
|
||||
a(
|
||||
"a",
|
||||
{
|
||||
class: "header-anchor",
|
||||
href: "#page-data",
|
||||
"aria-label": 'Permalink to "Page Data"',
|
||||
},
|
||||
"",
|
||||
),
|
||||
],
|
||||
-1,
|
||||
)),
|
||||
a("pre", null, t(i(l)), 1),
|
||||
e[2] ||
|
||||
(e[2] = a(
|
||||
"h3",
|
||||
{ id: "page-frontmatter", tabindex: "-1" },
|
||||
[
|
||||
s("Page Frontmatter "),
|
||||
a(
|
||||
"a",
|
||||
{
|
||||
class: "header-anchor",
|
||||
href: "#page-frontmatter",
|
||||
"aria-label": 'Permalink to "Page Frontmatter"',
|
||||
},
|
||||
"",
|
||||
),
|
||||
],
|
||||
-1,
|
||||
)),
|
||||
a("pre", null, t(i(r)), 1),
|
||||
e[3] ||
|
||||
(e[3] = a(
|
||||
"h2",
|
||||
{ id: "more", tabindex: "-1" },
|
||||
[
|
||||
s("More "),
|
||||
a(
|
||||
"a",
|
||||
{
|
||||
class: "header-anchor",
|
||||
href: "#more",
|
||||
"aria-label": 'Permalink to "More"',
|
||||
},
|
||||
"",
|
||||
),
|
||||
],
|
||||
-1,
|
||||
)),
|
||||
e[4] ||
|
||||
(e[4] = a(
|
||||
"p",
|
||||
null,
|
||||
[
|
||||
s("Check out the documentation for the "),
|
||||
a(
|
||||
"a",
|
||||
{
|
||||
href: "https://vitepress.dev/reference/runtime-api#usedata",
|
||||
target: "_blank",
|
||||
rel: "noreferrer",
|
||||
},
|
||||
"full list of runtime APIs",
|
||||
),
|
||||
s("."),
|
||||
],
|
||||
-1,
|
||||
)),
|
||||
])
|
||||
);
|
||||
},
|
||||
});
|
||||
export { f as __pageData, E as default };
|
||||
|
@ -1 +1,102 @@
|
||||
import{u as p,c as h,o,ae as d,j as a,t,k as i,a as s}from"./chunks/framework.WowTybjF.js";const f=JSON.parse('{"title":"Runtime API Examples","description":"","frontmatter":{"outline":"deep"},"headers":[],"relativePath":"api-examples.md","filePath":"api-examples.md"}'),m={name:"api-examples.md"},E=Object.assign(m,{setup(k){const{site:g,theme:n,page:l,frontmatter:r}=p();return(c,e)=>(o(),h("div",null,[e[0]||(e[0]=d("",6)),a("pre",null,t(i(n)),1),e[1]||(e[1]=a("h3",{id:"page-data",tabindex:"-1"},[s("Page Data "),a("a",{class:"header-anchor",href:"#page-data","aria-label":'Permalink to "Page Data"'},"")],-1)),a("pre",null,t(i(l)),1),e[2]||(e[2]=a("h3",{id:"page-frontmatter",tabindex:"-1"},[s("Page Frontmatter "),a("a",{class:"header-anchor",href:"#page-frontmatter","aria-label":'Permalink to "Page Frontmatter"'},"")],-1)),a("pre",null,t(i(r)),1),e[3]||(e[3]=a("h2",{id:"more",tabindex:"-1"},[s("More "),a("a",{class:"header-anchor",href:"#more","aria-label":'Permalink to "More"'},"")],-1)),e[4]||(e[4]=a("p",null,[s("Check out the documentation for the "),a("a",{href:"https://vitepress.dev/reference/runtime-api#usedata",target:"_blank",rel:"noreferrer"},"full list of runtime APIs"),s(".")],-1))]))}});export{f as __pageData,E as default};
|
||||
import {
|
||||
u as p,
|
||||
c as h,
|
||||
o,
|
||||
ae as d,
|
||||
j as a,
|
||||
t,
|
||||
k as i,
|
||||
a as s,
|
||||
} from "./chunks/framework.WowTybjF.js";
|
||||
const f = JSON.parse(
|
||||
'{"title":"Runtime API Examples","description":"","frontmatter":{"outline":"deep"},"headers":[],"relativePath":"api-examples.md","filePath":"api-examples.md"}',
|
||||
),
|
||||
m = { name: "api-examples.md" },
|
||||
E = Object.assign(m, {
|
||||
setup(k) {
|
||||
const { site: g, theme: n, page: l, frontmatter: r } = p();
|
||||
return (c, e) => (
|
||||
o(),
|
||||
h("div", null, [
|
||||
e[0] || (e[0] = d("", 6)),
|
||||
a("pre", null, t(i(n)), 1),
|
||||
e[1] ||
|
||||
(e[1] = a(
|
||||
"h3",
|
||||
{ id: "page-data", tabindex: "-1" },
|
||||
[
|
||||
s("Page Data "),
|
||||
a(
|
||||
"a",
|
||||
{
|
||||
class: "header-anchor",
|
||||
href: "#page-data",
|
||||
"aria-label": 'Permalink to "Page Data"',
|
||||
},
|
||||
"",
|
||||
),
|
||||
],
|
||||
-1,
|
||||
)),
|
||||
a("pre", null, t(i(l)), 1),
|
||||
e[2] ||
|
||||
(e[2] = a(
|
||||
"h3",
|
||||
{ id: "page-frontmatter", tabindex: "-1" },
|
||||
[
|
||||
s("Page Frontmatter "),
|
||||
a(
|
||||
"a",
|
||||
{
|
||||
class: "header-anchor",
|
||||
href: "#page-frontmatter",
|
||||
"aria-label": 'Permalink to "Page Frontmatter"',
|
||||
},
|
||||
"",
|
||||
),
|
||||
],
|
||||
-1,
|
||||
)),
|
||||
a("pre", null, t(i(r)), 1),
|
||||
e[3] ||
|
||||
(e[3] = a(
|
||||
"h2",
|
||||
{ id: "more", tabindex: "-1" },
|
||||
[
|
||||
s("More "),
|
||||
a(
|
||||
"a",
|
||||
{
|
||||
class: "header-anchor",
|
||||
href: "#more",
|
||||
"aria-label": 'Permalink to "More"',
|
||||
},
|
||||
"",
|
||||
),
|
||||
],
|
||||
-1,
|
||||
)),
|
||||
e[4] ||
|
||||
(e[4] = a(
|
||||
"p",
|
||||
null,
|
||||
[
|
||||
s("Check out the documentation for the "),
|
||||
a(
|
||||
"a",
|
||||
{
|
||||
href: "https://vitepress.dev/reference/runtime-api#usedata",
|
||||
target: "_blank",
|
||||
rel: "noreferrer",
|
||||
},
|
||||
"full list of runtime APIs",
|
||||
),
|
||||
s("."),
|
||||
],
|
||||
-1,
|
||||
)),
|
||||
])
|
||||
);
|
||||
},
|
||||
});
|
||||
export { f as __pageData, E as default };
|
||||
|
@ -1 +1,104 @@
|
||||
import{t as p}from"./chunks/theme.u6X5xXdX.js";import{R as s,a0 as i,a1 as u,a2 as c,a3 as l,a4 as f,a5 as d,a6 as m,a7 as h,a8 as g,a9 as A,d as v,u as y,v as C,s as P,aa as b,ab as w,ac as R,ad as E}from"./chunks/framework.WowTybjF.js";function r(e){if(e.extends){const a=r(e.extends);return{...a,...e,async enhanceApp(t){a.enhanceApp&&await a.enhanceApp(t),e.enhanceApp&&await e.enhanceApp(t)}}}return e}const n=r(p),S=v({name:"VitePressApp",setup(){const{site:e,lang:a,dir:t}=y();return C(()=>{P(()=>{document.documentElement.lang=a.value,document.documentElement.dir=t.value})}),e.value.router.prefetchLinks&&b(),w(),R(),n.setup&&n.setup(),()=>E(n.Layout)}});async function T(){globalThis.__VITEPRESS__=!0;const e=_(),a=D();a.provide(u,e);const t=c(e.route);return a.provide(l,t),a.component("Content",f),a.component("ClientOnly",d),Object.defineProperties(a.config.globalProperties,{$frontmatter:{get(){return t.frontmatter.value}},$params:{get(){return t.page.value.params}}}),n.enhanceApp&&await n.enhanceApp({app:a,router:e,siteData:m}),{app:a,router:e,data:t}}function D(){return A(S)}function _(){let e=s;return h(a=>{let t=g(a),o=null;return t&&(e&&(t=t.replace(/\.js$/,".lean.js")),o=import(t)),s&&(e=!1),o},n.NotFound)}s&&T().then(({app:e,router:a,data:t})=>{a.go().then(()=>{i(a.route,t.site),e.mount("#app")})});export{T as createApp};
|
||||
import { t as p } from "./chunks/theme.u6X5xXdX.js";
|
||||
import {
|
||||
R as s,
|
||||
a0 as i,
|
||||
a1 as u,
|
||||
a2 as c,
|
||||
a3 as l,
|
||||
a4 as f,
|
||||
a5 as d,
|
||||
a6 as m,
|
||||
a7 as h,
|
||||
a8 as g,
|
||||
a9 as A,
|
||||
d as v,
|
||||
u as y,
|
||||
v as C,
|
||||
s as P,
|
||||
aa as b,
|
||||
ab as w,
|
||||
ac as R,
|
||||
ad as E,
|
||||
} from "./chunks/framework.WowTybjF.js";
|
||||
function r(e) {
|
||||
if (e.extends) {
|
||||
const a = r(e.extends);
|
||||
return {
|
||||
...a,
|
||||
...e,
|
||||
async enhanceApp(t) {
|
||||
a.enhanceApp && (await a.enhanceApp(t)),
|
||||
e.enhanceApp && (await e.enhanceApp(t));
|
||||
},
|
||||
};
|
||||
}
|
||||
return e;
|
||||
}
|
||||
const n = r(p),
|
||||
S = v({
|
||||
name: "VitePressApp",
|
||||
setup() {
|
||||
const { site: e, lang: a, dir: t } = y();
|
||||
return (
|
||||
C(() => {
|
||||
P(() => {
|
||||
(document.documentElement.lang = a.value),
|
||||
(document.documentElement.dir = t.value);
|
||||
});
|
||||
}),
|
||||
e.value.router.prefetchLinks && b(),
|
||||
w(),
|
||||
R(),
|
||||
n.setup && n.setup(),
|
||||
() => E(n.Layout)
|
||||
);
|
||||
},
|
||||
});
|
||||
async function T() {
|
||||
globalThis.__VITEPRESS__ = !0;
|
||||
const e = _(),
|
||||
a = D();
|
||||
a.provide(u, e);
|
||||
const t = c(e.route);
|
||||
return (
|
||||
a.provide(l, t),
|
||||
a.component("Content", f),
|
||||
a.component("ClientOnly", d),
|
||||
Object.defineProperties(a.config.globalProperties, {
|
||||
$frontmatter: {
|
||||
get() {
|
||||
return t.frontmatter.value;
|
||||
},
|
||||
},
|
||||
$params: {
|
||||
get() {
|
||||
return t.page.value.params;
|
||||
},
|
||||
},
|
||||
}),
|
||||
n.enhanceApp && (await n.enhanceApp({ app: a, router: e, siteData: m })),
|
||||
{ app: a, router: e, data: t }
|
||||
);
|
||||
}
|
||||
function D() {
|
||||
return A(S);
|
||||
}
|
||||
function _() {
|
||||
let e = s;
|
||||
return h((a) => {
|
||||
let t = g(a),
|
||||
o = null;
|
||||
return (
|
||||
t && (e && (t = t.replace(/\.js$/, ".lean.js")), (o = import(t))),
|
||||
s && (e = !1),
|
||||
o
|
||||
);
|
||||
}, n.NotFound);
|
||||
}
|
||||
s &&
|
||||
T().then(({ app: e, router: a, data: t }) => {
|
||||
a.go().then(() => {
|
||||
i(a.route, t.site), e.mount("#app");
|
||||
});
|
||||
});
|
||||
export { T as createApp };
|
||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1 +1,10 @@
|
||||
import{_ as e,c as t,o as a}from"./chunks/framework.WowTybjF.js";const p=JSON.parse('{"title":"","description":"","frontmatter":{"layout":"home","hero":{"name":"News Analzye Docs","text":"The documentation for news analyze the project.","tagline":"My great project tagline","actions":[{"theme":"brand","text":"Markdown Examples","link":"/markdown-examples"},{"theme":"alt","text":"API Examples","link":"/api-examples"}]},"features":[{"title":"Feature A","details":"Lorem ipsum dolor sit amet, consectetur adipiscing elit"},{"title":"Feature B","details":"Lorem ipsum dolor sit amet, consectetur adipiscing elit"},{"title":"Feature C","details":"Lorem ipsum dolor sit amet, consectetur adipiscing elit"}]},"headers":[],"relativePath":"index.md","filePath":"index.md"}'),i={name:"index.md"};function o(s,n,r,l,c,m){return a(),t("div")}const u=e(i,[["render",o]]);export{p as __pageData,u as default};
|
||||
import { _ as e, c as t, o as a } from "./chunks/framework.WowTybjF.js";
|
||||
const p = JSON.parse(
|
||||
'{"title":"","description":"","frontmatter":{"layout":"home","hero":{"name":"News Analzye Docs","text":"The documentation for news analyze the project.","tagline":"My great project tagline","actions":[{"theme":"brand","text":"Markdown Examples","link":"/markdown-examples"},{"theme":"alt","text":"API Examples","link":"/api-examples"}]},"features":[{"title":"Feature A","details":"Lorem ipsum dolor sit amet, consectetur adipiscing elit"},{"title":"Feature B","details":"Lorem ipsum dolor sit amet, consectetur adipiscing elit"},{"title":"Feature C","details":"Lorem ipsum dolor sit amet, consectetur adipiscing elit"}]},"headers":[],"relativePath":"index.md","filePath":"index.md"}',
|
||||
),
|
||||
i = { name: "index.md" };
|
||||
function o(s, n, r, l, c, m) {
|
||||
return a(), t("div");
|
||||
}
|
||||
const u = e(i, [["render", o]]);
|
||||
export { p as __pageData, u as default };
|
||||
|
@ -1 +1,10 @@
|
||||
import{_ as e,c as t,o as a}from"./chunks/framework.WowTybjF.js";const p=JSON.parse('{"title":"","description":"","frontmatter":{"layout":"home","hero":{"name":"News Analzye Docs","text":"The documentation for news analyze the project.","tagline":"My great project tagline","actions":[{"theme":"brand","text":"Markdown Examples","link":"/markdown-examples"},{"theme":"alt","text":"API Examples","link":"/api-examples"}]},"features":[{"title":"Feature A","details":"Lorem ipsum dolor sit amet, consectetur adipiscing elit"},{"title":"Feature B","details":"Lorem ipsum dolor sit amet, consectetur adipiscing elit"},{"title":"Feature C","details":"Lorem ipsum dolor sit amet, consectetur adipiscing elit"}]},"headers":[],"relativePath":"index.md","filePath":"index.md"}'),i={name:"index.md"};function o(s,n,r,l,c,m){return a(),t("div")}const u=e(i,[["render",o]]);export{p as __pageData,u as default};
|
||||
import { _ as e, c as t, o as a } from "./chunks/framework.WowTybjF.js";
|
||||
const p = JSON.parse(
|
||||
'{"title":"","description":"","frontmatter":{"layout":"home","hero":{"name":"News Analzye Docs","text":"The documentation for news analyze the project.","tagline":"My great project tagline","actions":[{"theme":"brand","text":"Markdown Examples","link":"/markdown-examples"},{"theme":"alt","text":"API Examples","link":"/api-examples"}]},"features":[{"title":"Feature A","details":"Lorem ipsum dolor sit amet, consectetur adipiscing elit"},{"title":"Feature B","details":"Lorem ipsum dolor sit amet, consectetur adipiscing elit"},{"title":"Feature C","details":"Lorem ipsum dolor sit amet, consectetur adipiscing elit"}]},"headers":[],"relativePath":"index.md","filePath":"index.md"}',
|
||||
),
|
||||
i = { name: "index.md" };
|
||||
function o(s, n, r, l, c, m) {
|
||||
return a(), t("div");
|
||||
}
|
||||
const u = e(i, [["render", o]]);
|
||||
export { p as __pageData, u as default };
|
||||
|
@ -1,4 +1,23 @@
|
||||
import{_ as a,c as i,o as n,ae as e}from"./chunks/framework.WowTybjF.js";const E=JSON.parse('{"title":"Markdown Extension Examples","description":"","frontmatter":{},"headers":[],"relativePath":"markdown-examples.md","filePath":"markdown-examples.md"}'),t={name:"markdown-examples.md"};function l(p,s,h,k,r,o){return n(),i("div",null,s[0]||(s[0]=[e(`<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-md vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">md</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">\`\`\`js{4}</span></span>
|
||||
import {
|
||||
_ as a,
|
||||
c as i,
|
||||
o as n,
|
||||
ae as e,
|
||||
} from "./chunks/framework.WowTybjF.js";
|
||||
const E = JSON.parse(
|
||||
'{"title":"Markdown Extension Examples","description":"","frontmatter":{},"headers":[],"relativePath":"markdown-examples.md","filePath":"markdown-examples.md"}',
|
||||
),
|
||||
t = { name: "markdown-examples.md" };
|
||||
function l(p, s, h, k, r, o) {
|
||||
return (
|
||||
n(),
|
||||
i(
|
||||
"div",
|
||||
null,
|
||||
s[0] ||
|
||||
(s[0] = [
|
||||
e(
|
||||
`<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-md vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">md</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">\`\`\`js{4}</span></span>
|
||||
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">export default {</span></span>
|
||||
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> data () {</span></span>
|
||||
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> return {</span></span>
|
||||
@ -30,4 +49,12 @@ import{_ as a,c as i,o as n,ae as e}from"./chunks/framework.WowTybjF.js";const E
|
||||
<span class="line"></span>
|
||||
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">::: details</span></span>
|
||||
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">This is a details block.</span></span>
|
||||
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">:::</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>`,19)]))}const c=a(t,[["render",l]]);export{E as __pageData,c as default};
|
||||
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">:::</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>`,
|
||||
19,
|
||||
),
|
||||
]),
|
||||
)
|
||||
);
|
||||
}
|
||||
const c = a(t, [["render", l]]);
|
||||
export { E as __pageData, c as default };
|
||||
|
@ -1 +1,15 @@
|
||||
import{_ as a,c as i,o as n,ae as e}from"./chunks/framework.WowTybjF.js";const E=JSON.parse('{"title":"Markdown Extension Examples","description":"","frontmatter":{},"headers":[],"relativePath":"markdown-examples.md","filePath":"markdown-examples.md"}'),t={name:"markdown-examples.md"};function l(p,s,h,k,r,o){return n(),i("div",null,s[0]||(s[0]=[e("",19)]))}const c=a(t,[["render",l]]);export{E as __pageData,c as default};
|
||||
import {
|
||||
_ as a,
|
||||
c as i,
|
||||
o as n,
|
||||
ae as e,
|
||||
} from "./chunks/framework.WowTybjF.js";
|
||||
const E = JSON.parse(
|
||||
'{"title":"Markdown Extension Examples","description":"","frontmatter":{},"headers":[],"relativePath":"markdown-examples.md","filePath":"markdown-examples.md"}',
|
||||
),
|
||||
t = { name: "markdown-examples.md" };
|
||||
function l(p, s, h, k, r, o) {
|
||||
return n(), i("div", null, s[0] || (s[0] = [e("", 19)]));
|
||||
}
|
||||
const c = a(t, [["render", l]]);
|
||||
export { E as __pageData, c as default };
|
||||
|
File diff suppressed because one or more lines are too long
@ -1 +1,5 @@
|
||||
{"api-examples.md":"B5cbNgMl","index.md":"ZzqtzDg7","markdown-examples.md":"OYFiuX35"}
|
||||
{
|
||||
"api-examples.md": "B5cbNgMl",
|
||||
"index.md": "ZzqtzDg7",
|
||||
"markdown-examples.md": "OYFiuX35"
|
||||
}
|
||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1 +1,3 @@
|
||||
.vpi-social-github{--icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='black' d='M12 .297c-6.63 0-12 5.373-12 12c0 5.303 3.438 9.8 8.205 11.385c.6.113.82-.258.82-.577c0-.285-.01-1.04-.015-2.04c-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-.729c1.205.084 1.838 1.236 1.838 1.236c1.07 1.835 2.809 1.305 3.495.998c.108-.776.417-1.305.76-1.605c-2.665-.3-5.466-1.332-5.466-5.93c0-1.31.465-2.38 1.235-3.22c-.135-.303-.54-1.523.105-3.176c0 0 1.005-.322 3.3 1.23c.96-.267 1.98-.399 3-.405c1.02.006 2.04.138 3 .405c2.28-1.552 3.285-1.23 3.285-1.23c.645 1.653.24 2.873.12 3.176c.765.84 1.23 1.91 1.23 3.22c0 4.61-2.805 5.625-5.475 5.92c.42.36.81 1.096.81 2.22c0 1.606-.015 2.896-.015 3.286c0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12'/%3E%3C/svg%3E")}
|
||||
.vpi-social-github {
|
||||
--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='black' d='M12 .297c-6.63 0-12 5.373-12 12c0 5.303 3.438 9.8 8.205 11.385c.6.113.82-.258.82-.577c0-.285-.01-1.04-.015-2.04c-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-.729c1.205.084 1.838 1.236 1.838 1.236c1.07 1.835 2.809 1.305 3.495.998c.108-.776.417-1.305.76-1.605c-2.665-.3-5.466-1.332-5.466-5.93c0-1.31.465-2.38 1.235-3.22c-.135-.303-.54-1.523.105-3.176c0 0 1.005-.322 3.3 1.23c.96-.267 1.98-.399 3-.405c1.02.006 2.04.138 3 .405c2.28-1.552 3.285-1.23 3.285-1.23c.645 1.653.24 2.873.12 3.176c.765.84 1.23 1.91 1.23 3.22c0 4.61-2.805 5.625-5.475 5.92c.42.36.81 1.096.81 2.22c0 1.606-.015 2.896-.015 3.286c0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12'/%3E%3C/svg%3E");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user