Remove /docs/ for now & add freelinetoday component.

This commit is contained in:
吳元皓 2025-05-20 21:48:16 +08:00
parent 62fa31ae4a
commit 9ed90af818
31 changed files with 19 additions and 17495 deletions

View File

@ -0,0 +1,19 @@
<script setup lang="ts">
const errore = ref(false);
const route = useRoute();
const article = route.query.article;
const buildUrl = "/api/news/get/lt/" + article;
if (!article) {
errore.value = true;
}
const { data, error, pending } = await useFetch(buildUrl);
</script>
<template>
<div class="justify-center align-center text-center flex flex-col">
<h2 class="text-3xl text-bold">{{ data.title }}</h2>
<span class="text-lg text-bold"
>origin: {{ data.origin }} author: {{ data.author }}</span
>
<div class="test-center" v-for="item in data.paragraph">{{ item }}</div>
</div>
</template>

View File

@ -1,50 +0,0 @@
<!doctype html>
<html lang="en-US" dir="ltr">
<head>
<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" />
<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>
</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>
</body>
</html>

View File

@ -1,616 +0,0 @@
<!doctype html>
<html lang="en-US" dir="ltr">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<title>Runtime API Examples | News Analzye Docs</title>
<meta
name="description"
content="The documentation for news analyze the project."
/>
<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=""
/>
<link rel="modulepreload" href="/docs/assets/chunks/theme.u6X5xXdX.js" />
<link
rel="modulepreload"
href="/docs/assets/chunks/framework.WowTybjF.js"
/>
<link
rel="modulepreload"
href="/docs/assets/api-examples.md.B5cbNgMl.lean.js"
/>
<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 class="Layout" data-v-5d98c3a5>
<!--[--><!--]--><!--[--><span tabindex="-1" data-v-0b0ada53></span
><a href="#VPContent" class="VPSkipLink visually-hidden" data-v-0b0ada53
>Skip to content</a
><!--]--><!---->
<header class="VPNav" data-v-5d98c3a5 data-v-ae24b3ad>
<div class="VPNavBar" data-v-ae24b3ad data-v-6aa21345>
<div class="wrapper" data-v-6aa21345>
<div class="container" data-v-6aa21345>
<div class="title" data-v-6aa21345>
<div
class="VPNavBarTitle has-sidebar"
data-v-6aa21345
data-v-1168a8e4
>
<a class="title" href="/docs/" data-v-1168a8e4
><!--[--><!--]--><!----><span data-v-1168a8e4
>News Analzye Docs</span
><!--[--><!--]--></a
>
</div>
</div>
<div class="content" data-v-6aa21345>
<div class="content-body" data-v-6aa21345>
<!--[--><!--]-->
<div class="VPNavBarSearch search" data-v-6aa21345>
<!---->
</div>
<nav
aria-labelledby="main-nav-aria-label"
class="VPNavBarMenu menu"
data-v-6aa21345
data-v-dc692963
>
<span
id="main-nav-aria-label"
class="visually-hidden"
data-v-dc692963
>
Main Navigation </span
><!--[--><!--[--><a
class="VPLink link VPNavBarMenuLink"
href="/docs/"
tabindex="0"
data-v-dc692963
data-v-e56f3d57
><!--[--><span data-v-e56f3d57>Home</span
><!--]--></a
><!--]--><!--[--><a
class="VPLink link VPNavBarMenuLink"
href="/docs/markdown-examples.html"
tabindex="0"
data-v-dc692963
data-v-e56f3d57
><!--[--><span data-v-e56f3d57>Examples</span
><!--]--></a
><!--]--><!--]-->
</nav>
<!---->
<div
class="VPNavBarAppearance appearance"
data-v-6aa21345
data-v-6c893767
>
<button
class="VPSwitch VPSwitchAppearance"
type="button"
role="switch"
title
aria-checked="false"
data-v-6c893767
data-v-5337faa4
data-v-1d5665e3
>
<span class="check" data-v-1d5665e3
><span class="icon" data-v-1d5665e3
><!--[--><span
class="vpi-sun sun"
data-v-5337faa4
></span
><span class="vpi-moon moon" data-v-5337faa4></span
><!--]--></span
></span
>
</button>
</div>
<div
class="VPSocialLinks VPNavBarSocialLinks social-links"
data-v-6aa21345
data-v-0394ad82
data-v-7bc22406
>
<!--[--><a
class="VPSocialLink no-icon"
href="https://github.com/vuejs/vitepress"
aria-label="github"
target="_blank"
rel="noopener"
data-v-7bc22406
data-v-bd121fe5
><span class="vpi-social-github"></span></a
><!--]-->
</div>
<div
class="VPFlyout VPNavBarExtra extra"
data-v-6aa21345
data-v-bb2aa2f0
data-v-cf11d7a2
>
<button
type="button"
class="button"
aria-haspopup="true"
aria-expanded="false"
aria-label="extra navigation"
data-v-cf11d7a2
>
<span
class="vpi-more-horizontal icon"
data-v-cf11d7a2
></span>
</button>
<div class="menu" data-v-cf11d7a2>
<div class="VPMenu" data-v-cf11d7a2 data-v-b98bc113>
<!----><!--[--><!--[--><!---->
<div class="group" data-v-bb2aa2f0>
<div class="item appearance" data-v-bb2aa2f0>
<p class="label" data-v-bb2aa2f0>Appearance</p>
<div class="appearance-action" data-v-bb2aa2f0>
<button
class="VPSwitch VPSwitchAppearance"
type="button"
role="switch"
title
aria-checked="false"
data-v-bb2aa2f0
data-v-5337faa4
data-v-1d5665e3
>
<span class="check" data-v-1d5665e3
><span class="icon" data-v-1d5665e3
><!--[--><span
class="vpi-sun sun"
data-v-5337faa4
></span
><span
class="vpi-moon moon"
data-v-5337faa4
></span
><!--]--></span
></span
>
</button>
</div>
</div>
</div>
<div class="group" data-v-bb2aa2f0>
<div class="item social-links" data-v-bb2aa2f0>
<div
class="VPSocialLinks social-links-list"
data-v-bb2aa2f0
data-v-7bc22406
>
<!--[--><a
class="VPSocialLink no-icon"
href="https://github.com/vuejs/vitepress"
aria-label="github"
target="_blank"
rel="noopener"
data-v-7bc22406
data-v-bd121fe5
><span class="vpi-social-github"></span></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-6aa21345
data-v-e5dd9c1c
>
<span class="container" data-v-e5dd9c1c
><span class="top" data-v-e5dd9c1c></span
><span class="middle" data-v-e5dd9c1c></span
><span class="bottom" data-v-e5dd9c1c></span
></span>
</button>
</div>
</div>
</div>
</div>
<div class="divider" data-v-6aa21345>
<div class="divider-line" data-v-6aa21345></div>
</div>
</div>
<!---->
</header>
<div
class="VPLocalNav has-sidebar empty"
data-v-5d98c3a5
data-v-a6f0e41e
>
<div class="container" data-v-a6f0e41e>
<button
class="menu"
aria-expanded="false"
aria-controls="VPSidebarNav"
data-v-a6f0e41e
>
<span class="vpi-align-left menu-icon" data-v-a6f0e41e></span
><span class="menu-text" data-v-a6f0e41e>Menu</span>
</button>
<div
class="VPLocalNavOutlineDropdown"
style="--vp-vh: 0px"
data-v-a6f0e41e
data-v-8a42e2b4
>
<button data-v-8a42e2b4>Return to top</button
><!---->
</div>
</div>
</div>
<aside class="VPSidebar" data-v-5d98c3a5 data-v-319d5ca6>
<div class="curtain" data-v-319d5ca6></div>
<nav
class="nav"
id="VPSidebarNav"
aria-labelledby="sidebar-aria-label"
tabindex="-1"
data-v-319d5ca6
>
<span
class="visually-hidden"
id="sidebar-aria-label"
data-v-319d5ca6
>
Sidebar Navigation </span
><!--[--><!--]--><!--[-->
<div class="no-transition group" data-v-c40bc020>
<section
class="VPSidebarItem level-0 has-active"
data-v-c40bc020
data-v-b3fd67f8
>
<div class="item" role="button" tabindex="0" data-v-b3fd67f8>
<div class="indicator" data-v-b3fd67f8></div>
<h2 class="text" data-v-b3fd67f8>Examples</h2>
<!---->
</div>
<div class="items" data-v-b3fd67f8>
<!--[-->
<div
class="VPSidebarItem level-1 is-link"
data-v-b3fd67f8
data-v-b3fd67f8
>
<div class="item" data-v-b3fd67f8>
<div class="indicator" data-v-b3fd67f8></div>
<a
class="VPLink link link"
href="/docs/markdown-examples.html"
data-v-b3fd67f8
><!--[-->
<p class="text" data-v-b3fd67f8>Markdown Examples</p>
<!--]--></a
><!---->
</div>
<!---->
</div>
<div
class="VPSidebarItem level-1 is-link"
data-v-b3fd67f8
data-v-b3fd67f8
>
<div class="item" data-v-b3fd67f8>
<div class="indicator" data-v-b3fd67f8></div>
<a
class="VPLink link link"
href="/docs/api-examples.html"
data-v-b3fd67f8
><!--[-->
<p class="text" data-v-b3fd67f8>Runtime API Examples</p>
<!--]--></a
><!---->
</div>
<!---->
</div>
<!--]-->
</div>
</section>
</div>
<!--]--><!--[--><!--]-->
</nav>
</aside>
<div
class="VPContent has-sidebar"
id="VPContent"
data-v-5d98c3a5
data-v-1428d186
>
<div
class="VPDoc has-sidebar has-aside"
data-v-1428d186
data-v-39a288b8
>
<!--[--><!--]-->
<div class="container" data-v-39a288b8>
<div class="aside" data-v-39a288b8>
<div class="aside-curtain" data-v-39a288b8></div>
<div class="aside-container" data-v-39a288b8>
<div class="aside-content" data-v-39a288b8>
<div class="VPDocAside" data-v-39a288b8 data-v-3f215769>
<!--[--><!--]--><!--[--><!--]-->
<nav
aria-labelledby="doc-outline-aria-label"
class="VPDocAsideOutline"
data-v-3f215769
data-v-a5bbad30
>
<div class="content" data-v-a5bbad30>
<div class="outline-marker" data-v-a5bbad30></div>
<div
aria-level="2"
class="outline-title"
id="doc-outline-aria-label"
role="heading"
data-v-a5bbad30
>
On this page
</div>
<ul
class="VPDocOutlineItem root"
data-v-a5bbad30
data-v-b933a997
>
<!--[--><!--]-->
</ul>
</div>
</nav>
<!--[--><!--]-->
<div class="spacer" data-v-3f215769></div>
<!--[--><!--]--><!----><!--[--><!--]--><!--[--><!--]-->
</div>
</div>
</div>
</div>
<div class="content" data-v-39a288b8>
<div class="content-container" data-v-39a288b8>
<!--[--><!--]-->
<main class="main" data-v-39a288b8>
<div
style="position: relative"
class="vp-doc _docs_api-examples"
data-v-39a288b8
>
<div>
<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;">&lt;script setup&gt;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">import { useData } from &#39;vitepress&#39;</span></span>
<span class="line"></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">const { theme, page, frontmatter } = useData()</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&lt;/script&gt;</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;">## Results</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;">### Theme Data</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&lt;pre&gt;{{ theme }}&lt;/pre&gt;</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 Data</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&lt;pre&gt;{{ page }}&lt;/pre&gt;</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;">&lt;pre&gt;{{ frontmatter }}&lt;/pre&gt;</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>
<pre>
{
&quot;nav&quot;: [
{
&quot;text&quot;: &quot;Home&quot;,
&quot;link&quot;: &quot;/&quot;
},
{
&quot;text&quot;: &quot;Examples&quot;,
&quot;link&quot;: &quot;/markdown-examples&quot;
}
],
&quot;sidebar&quot;: [
{
&quot;text&quot;: &quot;Examples&quot;,
&quot;items&quot;: [
{
&quot;text&quot;: &quot;Markdown Examples&quot;,
&quot;link&quot;: &quot;/markdown-examples&quot;
},
{
&quot;text&quot;: &quot;Runtime API Examples&quot;,
&quot;link&quot;: &quot;/api-examples&quot;
}
]
}
],
&quot;socialLinks&quot;: [
{
&quot;icon&quot;: &quot;github&quot;,
&quot;link&quot;: &quot;https://github.com/vuejs/vitepress&quot;
}
]
}</pre
>
<h3 id="page-data" tabindex="-1">
Page Data
<a
class="header-anchor"
href="#page-data"
aria-label='Permalink to "Page Data"'
></a
>
</h3>
<pre>
{
&quot;title&quot;: &quot;Runtime API Examples&quot;,
&quot;description&quot;: &quot;&quot;,
&quot;frontmatter&quot;: {
&quot;outline&quot;: &quot;deep&quot;
},
&quot;headers&quot;: [],
&quot;relativePath&quot;: &quot;api-examples.md&quot;,
&quot;filePath&quot;: &quot;api-examples.md&quot;
}</pre
>
<h3 id="page-frontmatter" tabindex="-1">
Page Frontmatter
<a
class="header-anchor"
href="#page-frontmatter"
aria-label='Permalink to "Page Frontmatter"'
></a
>
</h3>
<pre>
{
&quot;outline&quot;: &quot;deep&quot;
}</pre
>
<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/reference/runtime-api#usedata"
target="_blank"
rel="noreferrer"
>full list of runtime APIs</a
>.
</p>
</div>
</div>
</main>
<footer class="VPDocFooter" data-v-39a288b8 data-v-e257564d>
<!--[--><!--]--><!---->
<nav
class="prev-next"
aria-labelledby="doc-footer-aria-label"
data-v-e257564d
>
<span
class="visually-hidden"
id="doc-footer-aria-label"
data-v-e257564d
>Pager</span
>
<div class="pager" data-v-e257564d>
<a
class="VPLink link pager-link prev"
href="/docs/markdown-examples.html"
data-v-e257564d
><!--[--><span class="desc" data-v-e257564d
>Previous page</span
><span class="title" data-v-e257564d
>Markdown Examples</span
><!--]--></a
>
</div>
<div class="pager" data-v-e257564d><!----></div>
</nav>
</footer>
<!--[--><!--]-->
</div>
</div>
</div>
<!--[--><!--]-->
</div>
</div>
<!----><!--[--><!--]-->
</div>
</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>
</body>
</html>

View File

@ -1,121 +0,0 @@
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 &quot;Runtime API Examples&quot;"></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;">&lt;script setup&gt;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">import { useData } from &#39;vitepress&#39;</span></span>
<span class="line"></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">const { theme, page, frontmatter } = useData()</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&lt;/script&gt;</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;">## Results</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;">### Theme Data</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&lt;pre&gt;{{ theme }}&lt;/pre&gt;</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 Data</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&lt;pre&gt;{{ page }}&lt;/pre&gt;</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;">&lt;pre&gt;{{ frontmatter }}&lt;/pre&gt;</span></span></code></pre></div><h2 id="results" tabindex="-1">Results <a class="header-anchor" href="#results" aria-label="Permalink to &quot;Results&quot;"></a></h2><h3 id="theme-data" tabindex="-1">Theme Data <a class="header-anchor" href="#theme-data" aria-label="Permalink to &quot;Theme Data&quot;"></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 };

View File

@ -1,102 +0,0 @@
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 };

View File

@ -1,104 +0,0 @@
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 it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,10 +0,0 @@
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 };

View File

@ -1,10 +0,0 @@
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 };

View File

@ -1,60 +0,0 @@
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 &quot;Markdown Extension Examples&quot;"></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 &quot;Syntax Highlighting&quot;"></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>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> msg: &#39;Highlighted!&#39;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> }</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> }</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">}</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="language-js vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">js</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">export</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> default</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> {</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> data</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> () {</span></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> return</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> {</span></span>
<span class="line highlighted"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> msg: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&#39;Highlighted!&#39;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> }</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> }</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">}</span></span></code></pre></div><h2 id="custom-containers" tabindex="-1">Custom Containers <a class="header-anchor" href="#custom-containers" aria-label="Permalink to &quot;Custom Containers&quot;"></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 shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">::: info</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">This is an info box.</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">:::</span></span>
<span class="line"></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">::: tip</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">This is a tip.</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">:::</span></span>
<span class="line"></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">::: warning</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">This is a warning.</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">:::</span></span>
<span class="line"></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">::: danger</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">This is a dangerous warning.</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">:::</span></span>
<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 &quot;More&quot;"></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 };

View File

@ -1,15 +0,0 @@
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 it is too large Load Diff

View File

@ -1,5 +0,0 @@
{
"api-examples.md": "B5cbNgMl",
"index.md": "ZzqtzDg7",
"markdown-examples.md": "OYFiuX35"
}

View File

@ -1,397 +0,0 @@
<!doctype html>
<html lang="en-US" dir="ltr">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<title>News Analzye Docs</title>
<meta
name="description"
content="The documentation for news analyze the project."
/>
<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=""
/>
<link rel="modulepreload" href="/docs/assets/chunks/theme.u6X5xXdX.js" />
<link
rel="modulepreload"
href="/docs/assets/chunks/framework.WowTybjF.js"
/>
<link rel="modulepreload" href="/docs/assets/index.md.ZzqtzDg7.lean.js" />
<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 class="Layout" data-v-5d98c3a5>
<!--[--><!--]--><!--[--><span tabindex="-1" data-v-0b0ada53></span
><a href="#VPContent" class="VPSkipLink visually-hidden" data-v-0b0ada53
>Skip to content</a
><!--]--><!---->
<header class="VPNav" data-v-5d98c3a5 data-v-ae24b3ad>
<div class="VPNavBar" data-v-ae24b3ad data-v-6aa21345>
<div class="wrapper" data-v-6aa21345>
<div class="container" data-v-6aa21345>
<div class="title" data-v-6aa21345>
<div class="VPNavBarTitle" data-v-6aa21345 data-v-1168a8e4>
<a class="title" href="/docs/" data-v-1168a8e4
><!--[--><!--]--><!----><span data-v-1168a8e4
>News Analzye Docs</span
><!--[--><!--]--></a
>
</div>
</div>
<div class="content" data-v-6aa21345>
<div class="content-body" data-v-6aa21345>
<!--[--><!--]-->
<div class="VPNavBarSearch search" data-v-6aa21345>
<!---->
</div>
<nav
aria-labelledby="main-nav-aria-label"
class="VPNavBarMenu menu"
data-v-6aa21345
data-v-dc692963
>
<span
id="main-nav-aria-label"
class="visually-hidden"
data-v-dc692963
>
Main Navigation </span
><!--[--><!--[--><a
class="VPLink link VPNavBarMenuLink active"
href="/docs/"
tabindex="0"
data-v-dc692963
data-v-e56f3d57
><!--[--><span data-v-e56f3d57>Home</span
><!--]--></a
><!--]--><!--[--><a
class="VPLink link VPNavBarMenuLink"
href="/docs/markdown-examples.html"
tabindex="0"
data-v-dc692963
data-v-e56f3d57
><!--[--><span data-v-e56f3d57>Examples</span
><!--]--></a
><!--]--><!--]-->
</nav>
<!---->
<div
class="VPNavBarAppearance appearance"
data-v-6aa21345
data-v-6c893767
>
<button
class="VPSwitch VPSwitchAppearance"
type="button"
role="switch"
title
aria-checked="false"
data-v-6c893767
data-v-5337faa4
data-v-1d5665e3
>
<span class="check" data-v-1d5665e3
><span class="icon" data-v-1d5665e3
><!--[--><span
class="vpi-sun sun"
data-v-5337faa4
></span
><span class="vpi-moon moon" data-v-5337faa4></span
><!--]--></span
></span
>
</button>
</div>
<div
class="VPSocialLinks VPNavBarSocialLinks social-links"
data-v-6aa21345
data-v-0394ad82
data-v-7bc22406
>
<!--[--><a
class="VPSocialLink no-icon"
href="https://github.com/vuejs/vitepress"
aria-label="github"
target="_blank"
rel="noopener"
data-v-7bc22406
data-v-bd121fe5
><span class="vpi-social-github"></span></a
><!--]-->
</div>
<div
class="VPFlyout VPNavBarExtra extra"
data-v-6aa21345
data-v-bb2aa2f0
data-v-cf11d7a2
>
<button
type="button"
class="button"
aria-haspopup="true"
aria-expanded="false"
aria-label="extra navigation"
data-v-cf11d7a2
>
<span
class="vpi-more-horizontal icon"
data-v-cf11d7a2
></span>
</button>
<div class="menu" data-v-cf11d7a2>
<div class="VPMenu" data-v-cf11d7a2 data-v-b98bc113>
<!----><!--[--><!--[--><!---->
<div class="group" data-v-bb2aa2f0>
<div class="item appearance" data-v-bb2aa2f0>
<p class="label" data-v-bb2aa2f0>Appearance</p>
<div class="appearance-action" data-v-bb2aa2f0>
<button
class="VPSwitch VPSwitchAppearance"
type="button"
role="switch"
title
aria-checked="false"
data-v-bb2aa2f0
data-v-5337faa4
data-v-1d5665e3
>
<span class="check" data-v-1d5665e3
><span class="icon" data-v-1d5665e3
><!--[--><span
class="vpi-sun sun"
data-v-5337faa4
></span
><span
class="vpi-moon moon"
data-v-5337faa4
></span
><!--]--></span
></span
>
</button>
</div>
</div>
</div>
<div class="group" data-v-bb2aa2f0>
<div class="item social-links" data-v-bb2aa2f0>
<div
class="VPSocialLinks social-links-list"
data-v-bb2aa2f0
data-v-7bc22406
>
<!--[--><a
class="VPSocialLink no-icon"
href="https://github.com/vuejs/vitepress"
aria-label="github"
target="_blank"
rel="noopener"
data-v-7bc22406
data-v-bd121fe5
><span class="vpi-social-github"></span></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-6aa21345
data-v-e5dd9c1c
>
<span class="container" data-v-e5dd9c1c
><span class="top" data-v-e5dd9c1c></span
><span class="middle" data-v-e5dd9c1c></span
><span class="bottom" data-v-e5dd9c1c></span
></span>
</button>
</div>
</div>
</div>
</div>
<div class="divider" data-v-6aa21345>
<div class="divider-line" data-v-6aa21345></div>
</div>
</div>
<!---->
</header>
<!----><!---->
<div
class="VPContent is-home"
id="VPContent"
data-v-5d98c3a5
data-v-1428d186
>
<div class="VPHome" data-v-1428d186 data-v-8b561e3d>
<!--[--><!--]-->
<div class="VPHero VPHomeHero" data-v-8b561e3d data-v-4f9c455b>
<div class="container" data-v-4f9c455b>
<div class="main" data-v-4f9c455b>
<!--[--><!--]--><!--[-->
<h1 class="heading" data-v-4f9c455b>
<span class="name clip" data-v-4f9c455b
>News Analzye Docs</span
><span class="text" data-v-4f9c455b
>The documentation for news analyze the project.</span
>
</h1>
<p class="tagline" data-v-4f9c455b>
My great project tagline
</p>
<!--]--><!--[--><!--]-->
<div class="actions" data-v-4f9c455b>
<!--[-->
<div class="action" data-v-4f9c455b>
<a
class="VPButton medium brand"
href="/docs/markdown-examples.html"
data-v-4f9c455b
data-v-fa7799d5
>Markdown Examples</a
>
</div>
<div class="action" data-v-4f9c455b>
<a
class="VPButton medium alt"
href="/docs/api-examples.html"
data-v-4f9c455b
data-v-fa7799d5
>API Examples</a
>
</div>
<!--]-->
</div>
<!--[--><!--]-->
</div>
<!---->
</div>
</div>
<!--[--><!--]--><!--[--><!--]-->
<div
class="VPFeatures VPHomeFeatures"
data-v-8b561e3d
data-v-a6181336
>
<div class="container" data-v-a6181336>
<div class="items" data-v-a6181336>
<!--[-->
<div class="grid-3 item" data-v-a6181336>
<div
class="VPLink no-icon VPFeature"
data-v-a6181336
data-v-a3976bdc
>
<!--[-->
<article class="box" data-v-a3976bdc>
<!---->
<h2 class="title" data-v-a3976bdc>Feature A</h2>
<p class="details" data-v-a3976bdc>
Lorem ipsum dolor sit amet, consectetur adipiscing
elit
</p>
<!---->
</article>
<!--]-->
</div>
</div>
<div class="grid-3 item" data-v-a6181336>
<div
class="VPLink no-icon VPFeature"
data-v-a6181336
data-v-a3976bdc
>
<!--[-->
<article class="box" data-v-a3976bdc>
<!---->
<h2 class="title" data-v-a3976bdc>Feature B</h2>
<p class="details" data-v-a3976bdc>
Lorem ipsum dolor sit amet, consectetur adipiscing
elit
</p>
<!---->
</article>
<!--]-->
</div>
</div>
<div class="grid-3 item" data-v-a6181336>
<div
class="VPLink no-icon VPFeature"
data-v-a6181336
data-v-a3976bdc
>
<!--[-->
<article class="box" data-v-a3976bdc>
<!---->
<h2 class="title" data-v-a3976bdc>Feature C</h2>
<p class="details" data-v-a3976bdc>
Lorem ipsum dolor sit amet, consectetur adipiscing
elit
</p>
<!---->
</article>
<!--]-->
</div>
</div>
<!--]-->
</div>
</div>
</div>
<!--[--><!--]-->
<div
class="vp-doc container"
style=""
data-v-8b561e3d
data-v-8e2d4988
>
<!--[-->
<div style="position: relative" data-v-8b561e3d><div></div></div>
<!--]-->
</div>
</div>
</div>
<!----><!--[--><!--]-->
</div>
</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>
</body>
</html>

View File

@ -1,606 +0,0 @@
<!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 | News Analzye Docs</title>
<meta
name="description"
content="The documentation for news analyze the project."
/>
<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=""
/>
<link rel="modulepreload" href="/docs/assets/chunks/theme.u6X5xXdX.js" />
<link
rel="modulepreload"
href="/docs/assets/chunks/framework.WowTybjF.js"
/>
<link
rel="modulepreload"
href="/docs/assets/markdown-examples.md.OYFiuX35.lean.js"
/>
<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 class="Layout" data-v-5d98c3a5>
<!--[--><!--]--><!--[--><span tabindex="-1" data-v-0b0ada53></span
><a href="#VPContent" class="VPSkipLink visually-hidden" data-v-0b0ada53
>Skip to content</a
><!--]--><!---->
<header class="VPNav" data-v-5d98c3a5 data-v-ae24b3ad>
<div class="VPNavBar" data-v-ae24b3ad data-v-6aa21345>
<div class="wrapper" data-v-6aa21345>
<div class="container" data-v-6aa21345>
<div class="title" data-v-6aa21345>
<div
class="VPNavBarTitle has-sidebar"
data-v-6aa21345
data-v-1168a8e4
>
<a class="title" href="/docs/" data-v-1168a8e4
><!--[--><!--]--><!----><span data-v-1168a8e4
>News Analzye Docs</span
><!--[--><!--]--></a
>
</div>
</div>
<div class="content" data-v-6aa21345>
<div class="content-body" data-v-6aa21345>
<!--[--><!--]-->
<div class="VPNavBarSearch search" data-v-6aa21345>
<!---->
</div>
<nav
aria-labelledby="main-nav-aria-label"
class="VPNavBarMenu menu"
data-v-6aa21345
data-v-dc692963
>
<span
id="main-nav-aria-label"
class="visually-hidden"
data-v-dc692963
>
Main Navigation </span
><!--[--><!--[--><a
class="VPLink link VPNavBarMenuLink"
href="/docs/"
tabindex="0"
data-v-dc692963
data-v-e56f3d57
><!--[--><span data-v-e56f3d57>Home</span
><!--]--></a
><!--]--><!--[--><a
class="VPLink link VPNavBarMenuLink active"
href="/docs/markdown-examples.html"
tabindex="0"
data-v-dc692963
data-v-e56f3d57
><!--[--><span data-v-e56f3d57>Examples</span
><!--]--></a
><!--]--><!--]-->
</nav>
<!---->
<div
class="VPNavBarAppearance appearance"
data-v-6aa21345
data-v-6c893767
>
<button
class="VPSwitch VPSwitchAppearance"
type="button"
role="switch"
title
aria-checked="false"
data-v-6c893767
data-v-5337faa4
data-v-1d5665e3
>
<span class="check" data-v-1d5665e3
><span class="icon" data-v-1d5665e3
><!--[--><span
class="vpi-sun sun"
data-v-5337faa4
></span
><span class="vpi-moon moon" data-v-5337faa4></span
><!--]--></span
></span
>
</button>
</div>
<div
class="VPSocialLinks VPNavBarSocialLinks social-links"
data-v-6aa21345
data-v-0394ad82
data-v-7bc22406
>
<!--[--><a
class="VPSocialLink no-icon"
href="https://github.com/vuejs/vitepress"
aria-label="github"
target="_blank"
rel="noopener"
data-v-7bc22406
data-v-bd121fe5
><span class="vpi-social-github"></span></a
><!--]-->
</div>
<div
class="VPFlyout VPNavBarExtra extra"
data-v-6aa21345
data-v-bb2aa2f0
data-v-cf11d7a2
>
<button
type="button"
class="button"
aria-haspopup="true"
aria-expanded="false"
aria-label="extra navigation"
data-v-cf11d7a2
>
<span
class="vpi-more-horizontal icon"
data-v-cf11d7a2
></span>
</button>
<div class="menu" data-v-cf11d7a2>
<div class="VPMenu" data-v-cf11d7a2 data-v-b98bc113>
<!----><!--[--><!--[--><!---->
<div class="group" data-v-bb2aa2f0>
<div class="item appearance" data-v-bb2aa2f0>
<p class="label" data-v-bb2aa2f0>Appearance</p>
<div class="appearance-action" data-v-bb2aa2f0>
<button
class="VPSwitch VPSwitchAppearance"
type="button"
role="switch"
title
aria-checked="false"
data-v-bb2aa2f0
data-v-5337faa4
data-v-1d5665e3
>
<span class="check" data-v-1d5665e3
><span class="icon" data-v-1d5665e3
><!--[--><span
class="vpi-sun sun"
data-v-5337faa4
></span
><span
class="vpi-moon moon"
data-v-5337faa4
></span
><!--]--></span
></span
>
</button>
</div>
</div>
</div>
<div class="group" data-v-bb2aa2f0>
<div class="item social-links" data-v-bb2aa2f0>
<div
class="VPSocialLinks social-links-list"
data-v-bb2aa2f0
data-v-7bc22406
>
<!--[--><a
class="VPSocialLink no-icon"
href="https://github.com/vuejs/vitepress"
aria-label="github"
target="_blank"
rel="noopener"
data-v-7bc22406
data-v-bd121fe5
><span class="vpi-social-github"></span></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-6aa21345
data-v-e5dd9c1c
>
<span class="container" data-v-e5dd9c1c
><span class="top" data-v-e5dd9c1c></span
><span class="middle" data-v-e5dd9c1c></span
><span class="bottom" data-v-e5dd9c1c></span
></span>
</button>
</div>
</div>
</div>
</div>
<div class="divider" data-v-6aa21345>
<div class="divider-line" data-v-6aa21345></div>
</div>
</div>
<!---->
</header>
<div
class="VPLocalNav has-sidebar empty"
data-v-5d98c3a5
data-v-a6f0e41e
>
<div class="container" data-v-a6f0e41e>
<button
class="menu"
aria-expanded="false"
aria-controls="VPSidebarNav"
data-v-a6f0e41e
>
<span class="vpi-align-left menu-icon" data-v-a6f0e41e></span
><span class="menu-text" data-v-a6f0e41e>Menu</span>
</button>
<div
class="VPLocalNavOutlineDropdown"
style="--vp-vh: 0px"
data-v-a6f0e41e
data-v-8a42e2b4
>
<button data-v-8a42e2b4>Return to top</button
><!---->
</div>
</div>
</div>
<aside class="VPSidebar" data-v-5d98c3a5 data-v-319d5ca6>
<div class="curtain" data-v-319d5ca6></div>
<nav
class="nav"
id="VPSidebarNav"
aria-labelledby="sidebar-aria-label"
tabindex="-1"
data-v-319d5ca6
>
<span
class="visually-hidden"
id="sidebar-aria-label"
data-v-319d5ca6
>
Sidebar Navigation </span
><!--[--><!--]--><!--[-->
<div class="no-transition group" data-v-c40bc020>
<section
class="VPSidebarItem level-0 has-active"
data-v-c40bc020
data-v-b3fd67f8
>
<div class="item" role="button" tabindex="0" data-v-b3fd67f8>
<div class="indicator" data-v-b3fd67f8></div>
<h2 class="text" data-v-b3fd67f8>Examples</h2>
<!---->
</div>
<div class="items" data-v-b3fd67f8>
<!--[-->
<div
class="VPSidebarItem level-1 is-link"
data-v-b3fd67f8
data-v-b3fd67f8
>
<div class="item" data-v-b3fd67f8>
<div class="indicator" data-v-b3fd67f8></div>
<a
class="VPLink link link"
href="/docs/markdown-examples.html"
data-v-b3fd67f8
><!--[-->
<p class="text" data-v-b3fd67f8>Markdown Examples</p>
<!--]--></a
><!---->
</div>
<!---->
</div>
<div
class="VPSidebarItem level-1 is-link"
data-v-b3fd67f8
data-v-b3fd67f8
>
<div class="item" data-v-b3fd67f8>
<div class="indicator" data-v-b3fd67f8></div>
<a
class="VPLink link link"
href="/docs/api-examples.html"
data-v-b3fd67f8
><!--[-->
<p class="text" data-v-b3fd67f8>Runtime API Examples</p>
<!--]--></a
><!---->
</div>
<!---->
</div>
<!--]-->
</div>
</section>
</div>
<!--]--><!--[--><!--]-->
</nav>
</aside>
<div
class="VPContent has-sidebar"
id="VPContent"
data-v-5d98c3a5
data-v-1428d186
>
<div
class="VPDoc has-sidebar has-aside"
data-v-1428d186
data-v-39a288b8
>
<!--[--><!--]-->
<div class="container" data-v-39a288b8>
<div class="aside" data-v-39a288b8>
<div class="aside-curtain" data-v-39a288b8></div>
<div class="aside-container" data-v-39a288b8>
<div class="aside-content" data-v-39a288b8>
<div class="VPDocAside" data-v-39a288b8 data-v-3f215769>
<!--[--><!--]--><!--[--><!--]-->
<nav
aria-labelledby="doc-outline-aria-label"
class="VPDocAsideOutline"
data-v-3f215769
data-v-a5bbad30
>
<div class="content" data-v-a5bbad30>
<div class="outline-marker" data-v-a5bbad30></div>
<div
aria-level="2"
class="outline-title"
id="doc-outline-aria-label"
role="heading"
data-v-a5bbad30
>
On this page
</div>
<ul
class="VPDocOutlineItem root"
data-v-a5bbad30
data-v-b933a997
>
<!--[--><!--]-->
</ul>
</div>
</nav>
<!--[--><!--]-->
<div class="spacer" data-v-3f215769></div>
<!--[--><!--]--><!----><!--[--><!--]--><!--[--><!--]-->
</div>
</div>
</div>
</div>
<div class="content" data-v-39a288b8>
<div class="content-container" data-v-39a288b8>
<!--[--><!--]-->
<main class="main" data-v-39a288b8>
<div
style="position: relative"
class="vp-doc _docs_markdown-examples"
data-v-39a288b8
>
<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-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>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> msg: &#39;Highlighted!&#39;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> }</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> }</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">}</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="language-js vp-adaptive-theme">
<button title="Copy Code" class="copy"></button
><span class="lang">js</span>
<pre
class="shiki shiki-themes github-light github-dark vp-code"
tabindex="0"
><code><span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">export</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> default</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> {</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> data</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> () {</span></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> return</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> {</span></span>
<span class="line highlighted"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> msg: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&#39;Highlighted!&#39;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> }</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> }</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">}</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 shiki-themes github-light github-dark vp-code"
tabindex="0"
><code><span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">::: info</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">This is an info box.</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">:::</span></span>
<span class="line"></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">::: tip</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">This is a tip.</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">:::</span></span>
<span class="line"></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">::: warning</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">This is a warning.</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">:::</span></span>
<span class="line"></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">::: danger</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">This is a dangerous warning.</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">:::</span></span>
<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>
</div>
</div>
</main>
<footer class="VPDocFooter" data-v-39a288b8 data-v-e257564d>
<!--[--><!--]--><!---->
<nav
class="prev-next"
aria-labelledby="doc-footer-aria-label"
data-v-e257564d
>
<span
class="visually-hidden"
id="doc-footer-aria-label"
data-v-e257564d
>Pager</span
>
<div class="pager" data-v-e257564d><!----></div>
<div class="pager" data-v-e257564d>
<a
class="VPLink link pager-link next"
href="/docs/api-examples.html"
data-v-e257564d
><!--[--><span class="desc" data-v-e257564d
>Next page</span
><span class="title" data-v-e257564d
>Runtime API Examples</span
><!--]--></a
>
</div>
</nav>
</footer>
<!--[--><!--]-->
</div>
</div>
</div>
<!--[--><!--]-->
</div>
</div>
<!----><!--[--><!--]-->
</div>
</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>
</body>
</html>

View File

@ -1,3 +0,0 @@
.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");
}