valaxy 0.15.11-alpha.0 → 0.15.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/bin/valaxy.cjs +0 -0
- package/bin/valaxy.mjs +0 -0
- package/client/composables/dark.ts +0 -2
- package/client/styles/common/transition.scss +22 -0
- package/package.json +8 -8
- package/client/.vite-ssg-temp/tbbjcbuyn2/CNAME +0 -1
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/PressAlgoliaSearch-2943719f.js +0 -227
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/ValaxyMain-26e77dc6.js +0 -752
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/_...all_-080f97f3.js +0 -31
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/_...all_-5084a1b0.js +0 -42
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/addon-f5fa83e1.js +0 -172
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/best-pratice-0231a551.js +0 -1105
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/client-496183a0.js +0 -286
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/community-1b33ec3b.js +0 -627
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/components-7000ddd3.js +0 -2460
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/deploy-59948619.js +0 -1071
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/docs-26abd7f8.js +0 -490
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/extend-975f8f72.js +0 -1851
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/extend-acd7107b.js +0 -1444
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/faq-62ed7bfd.js +0 -321
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/features-8acbd53d.js +0 -2625
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/gallery-832227a9.js +0 -244
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/gallery-9077df38.js +0 -370
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/getting-started-52c30f03.js +0 -3684
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/hexo-7311896e.js +0 -969
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/hooks-67450cb3.js +0 -517
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/i18n-4cd1bb86.js +0 -4159
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/i18n-e1165bc4.js +0 -676
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/index-002f83fb.js +0 -768
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/index-3dec2b83.js +0 -527
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/index-43565e48.js +0 -424
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/index-5f07432e.js +0 -563
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/index-6024f010.js +0 -3294
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/index-6f0d6ec7.js +0 -202
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/index-78c510e0.js +0 -549
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/index-839c338e.js +0 -4161
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/index-d39a48fd.js +0 -1170
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/index-e633613c.js +0 -1564
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/katex-32f21e80.js +0 -6119
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/logo-bd69f816.js +0 -180
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/markdown-050f3269.js +0 -5895
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/news-ecba2d88.js +0 -278
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/page-d48f3caa.js +0 -752
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/post-ac89eaf5.js +0 -1605
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/route-block-c0a8bdd8.js +0 -4
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/schema-org-f60b7dac.js +0 -477
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/site-6caa6511.js +0 -286
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/style-f415f7fa.css +0 -3742
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/styles-cdaadad2.js +0 -548
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/templates-c97584f2.js +0 -574
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/theme-192f77ef.js +0 -172
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/use-3c036a47.js +0 -669
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/use-851c0307.js +0 -619
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/vite-vue-f91b9792.js +0 -830
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/vscode-bc411e64.js +0 -350
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/why-c98bbe8e.js +0 -1131
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/write-6a43d4d0.js +0 -4963
- package/client/.vite-ssg-temp/tbbjcbuyn2/assets/write-6bc2b77c.js +0 -675
- package/client/.vite-ssg-temp/tbbjcbuyn2/favicon.svg +0 -33
- package/client/.vite-ssg-temp/tbbjcbuyn2/main.mjs +0 -6239
- package/client/.vite-ssg-temp/tbbjcbuyn2/valaxy-logo.png +0 -0
- package/client/.vite-ssg-temp/vp12eb5cgm/CNAME +0 -1
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/PressAlgoliaSearch-2943719f.js +0 -227
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/ValaxyMain-26e77dc6.js +0 -752
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/_...all_-080f97f3.js +0 -31
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/_...all_-5084a1b0.js +0 -42
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/addon-f5fa83e1.js +0 -172
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/best-pratice-0231a551.js +0 -1105
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/client-496183a0.js +0 -286
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/community-1b33ec3b.js +0 -627
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/components-7000ddd3.js +0 -2460
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/deploy-59948619.js +0 -1071
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/docs-26abd7f8.js +0 -490
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/extend-975f8f72.js +0 -1851
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/extend-acd7107b.js +0 -1444
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/faq-62ed7bfd.js +0 -321
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/features-8acbd53d.js +0 -2625
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/gallery-832227a9.js +0 -244
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/gallery-9077df38.js +0 -370
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/getting-started-bb7fc0a8.js +0 -3684
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/hexo-7311896e.js +0 -969
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/hooks-67450cb3.js +0 -517
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/i18n-4cd1bb86.js +0 -4159
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/i18n-e1165bc4.js +0 -676
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/index-002f83fb.js +0 -768
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/index-3dec2b83.js +0 -527
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/index-43565e48.js +0 -424
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/index-5f07432e.js +0 -563
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/index-6024f010.js +0 -3294
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/index-6f0d6ec7.js +0 -202
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/index-78c510e0.js +0 -549
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/index-839c338e.js +0 -4161
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/index-d39a48fd.js +0 -1170
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/index-e633613c.js +0 -1564
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/katex-32f21e80.js +0 -6119
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/logo-bd69f816.js +0 -180
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/markdown-abdb17ca.js +0 -5895
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/news-ecba2d88.js +0 -278
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/page-d48f3caa.js +0 -752
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/post-0ed0dfec.js +0 -1605
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/route-block-c0a8bdd8.js +0 -4
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/schema-org-f60b7dac.js +0 -477
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/site-6caa6511.js +0 -286
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/style-f415f7fa.css +0 -3742
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/styles-cdaadad2.js +0 -548
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/templates-c97584f2.js +0 -574
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/theme-192f77ef.js +0 -172
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/use-3c036a47.js +0 -669
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/use-851c0307.js +0 -619
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/vite-vue-f91b9792.js +0 -830
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/vscode-bc411e64.js +0 -350
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/why-c98bbe8e.js +0 -1131
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/write-6a43d4d0.js +0 -4963
- package/client/.vite-ssg-temp/vp12eb5cgm/assets/write-6bc2b77c.js +0 -675
- package/client/.vite-ssg-temp/vp12eb5cgm/favicon.svg +0 -33
- package/client/.vite-ssg-temp/vp12eb5cgm/main.mjs +0 -6239
- package/client/.vite-ssg-temp/vp12eb5cgm/valaxy-logo.png +0 -0
- package/client/styles/common/view-transition.css +0 -21
|
@@ -1,768 +0,0 @@
|
|
|
1
|
-
import { _ as _export_sfc, a as _sfc_main$1 } from "../main.mjs";
|
|
2
|
-
import { _ as __unplugin_components_0 } from "./ValaxyMain-26e77dc6.js";
|
|
3
|
-
import { provide, mergeProps, withCtx, createTextVNode, createVNode, renderSlot, useSSRContext } from "vue";
|
|
4
|
-
import { useRoute } from "vue-router";
|
|
5
|
-
import { ssrRenderComponent, ssrRenderStyle, ssrRenderSlot } from "vue/server-renderer";
|
|
6
|
-
import "vite-ssg";
|
|
7
|
-
import "pinia";
|
|
8
|
-
import "@vueuse/core";
|
|
9
|
-
import "dayjs";
|
|
10
|
-
import "dayjs/plugin/utc.js";
|
|
11
|
-
import "dayjs/plugin/timezone.js";
|
|
12
|
-
import "dayjs/locale/zh-cn.js";
|
|
13
|
-
import "body-scroll-lock";
|
|
14
|
-
import "@intlify/shared";
|
|
15
|
-
import "@intlify/core-base";
|
|
16
|
-
import "@vue/devtools-api";
|
|
17
|
-
import "@unhead/schema-org";
|
|
18
|
-
import "@unhead/vue";
|
|
19
|
-
import "dayjs/plugin/relativeTime.js";
|
|
20
|
-
import "defu";
|
|
21
|
-
import "nprogress";
|
|
22
|
-
import "medium-zoom";
|
|
23
|
-
import "vanilla-lazyload";
|
|
24
|
-
const __pageData = JSON.parse('{"title":"Migration from Other","description":"","frontmatter":{"title":"Migration from Other","title_zh-CN":"从其他博客框架迁移","categories":["migration"],"top":10},"headers":[{"level":2,"title":"从 Hexo 迁移至 Valaxy","slug":"从-hexo-迁移至-valaxy","link":"#从-hexo-迁移至-valaxy","children":[]},{"level":2,"title":"从其他任意博客框架迁移","slug":"从其他任意博客框架迁移","link":"#从其他任意博客框架迁移","children":[]},{"level":2,"title":"常见问题","slug":"常见问题","link":"#常见问题","children":[]},{"level":2,"title":"Common Problems","slug":"common-problems","link":"#common-problems","children":[{"level":3,"title":"摘要截断符","slug":"摘要截断符","link":"#摘要截断符","children":[]},{"level":3,"title":"Read More Separator","slug":"read-more-separator","link":"#read-more-separator","children":[]},{"level":3,"title":"Markdown 换行","slug":"markdown-换行","link":"#markdown-换行","children":[]},{"level":3,"title":"Newline in Markdown","slug":"newline-in-markdown","link":"#newline-in-markdown","children":[]}]}],"relativePath":"pages/migration/index.md","path":"C:\\\\Users\\\\me\\\\repos\\\\yyj\\\\valaxy\\\\docs\\\\pages\\\\migration\\\\index.md","lastUpdated":1698506898000}');
|
|
25
|
-
const data = JSON.parse('{"title":"Migration from Other","description":"","frontmatter":{"title":"Migration from Other","title_zh-CN":"从其他博客框架迁移","categories":["migration"],"top":10},"headers":[{"level":2,"title":"从 Hexo 迁移至 Valaxy","slug":"从-hexo-迁移至-valaxy","link":"#从-hexo-迁移至-valaxy","children":[]},{"level":2,"title":"从其他任意博客框架迁移","slug":"从其他任意博客框架迁移","link":"#从其他任意博客框架迁移","children":[]},{"level":2,"title":"常见问题","slug":"常见问题","link":"#常见问题","children":[]},{"level":2,"title":"Common Problems","slug":"common-problems","link":"#common-problems","children":[{"level":3,"title":"摘要截断符","slug":"摘要截断符","link":"#摘要截断符","children":[]},{"level":3,"title":"Read More Separator","slug":"read-more-separator","link":"#read-more-separator","children":[]},{"level":3,"title":"Markdown 换行","slug":"markdown-换行","link":"#markdown-换行","children":[]},{"level":3,"title":"Newline in Markdown","slug":"newline-in-markdown","link":"#newline-in-markdown","children":[]}]}],"relativePath":"pages/migration/index.md","path":"C:\\\\Users\\\\me\\\\repos\\\\yyj\\\\valaxy\\\\docs\\\\pages\\\\migration\\\\index.md","lastUpdated":1698506898000}');
|
|
26
|
-
const _sfc_main = {
|
|
27
|
-
name: "pages/migration/index.md",
|
|
28
|
-
data() {
|
|
29
|
-
return { data, frontmatter: data.frontmatter, $frontmatter: data.frontmatter };
|
|
30
|
-
},
|
|
31
|
-
setup() {
|
|
32
|
-
const route = useRoute();
|
|
33
|
-
route.meta.frontmatter = Object.assign(route.meta.frontmatter, data.frontmatter);
|
|
34
|
-
provide("pageData", data);
|
|
35
|
-
}
|
|
36
|
-
};
|
|
37
|
-
function _sfc_ssrRender(_ctx, _push, _parent, _attrs, $props, $setup, $data, $options) {
|
|
38
|
-
const _component_ValaxyMain = __unplugin_components_0;
|
|
39
|
-
const _component_AppLink = _sfc_main$1;
|
|
40
|
-
_push(ssrRenderComponent(_component_ValaxyMain, mergeProps({
|
|
41
|
-
frontmatter: $data.frontmatter,
|
|
42
|
-
data: $data.data
|
|
43
|
-
}, _attrs), {
|
|
44
|
-
"main-content-md": withCtx((_, _push2, _parent2, _scopeId) => {
|
|
45
|
-
if (_push2) {
|
|
46
|
-
_push2(`<h2 id="从-hexo-迁移至-valaxy" tabindex="-1"${_scopeId}>从 Hexo 迁移至 Valaxy `);
|
|
47
|
-
_push2(ssrRenderComponent(_component_AppLink, {
|
|
48
|
-
class: "header-anchor",
|
|
49
|
-
href: "#从-hexo-迁移至-valaxy",
|
|
50
|
-
"aria-label": 'Permalink to "从 Hexo 迁移至 Valaxy"'
|
|
51
|
-
}, {
|
|
52
|
-
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
53
|
-
if (_push3) {
|
|
54
|
-
_push3(``);
|
|
55
|
-
} else {
|
|
56
|
-
return [
|
|
57
|
-
createTextVNode("")
|
|
58
|
-
];
|
|
59
|
-
}
|
|
60
|
-
}),
|
|
61
|
-
_: 1
|
|
62
|
-
/* STABLE */
|
|
63
|
-
}, _parent2, _scopeId));
|
|
64
|
-
_push2(`</h2><ul${_scopeId}><li${_scopeId}>`);
|
|
65
|
-
_push2(ssrRenderComponent(_component_AppLink, { href: "/migration/hexo" }, {
|
|
66
|
-
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
67
|
-
if (_push3) {
|
|
68
|
-
_push3(`从 Hexo 迁移至 Valaxy`);
|
|
69
|
-
} else {
|
|
70
|
-
return [
|
|
71
|
-
createTextVNode("从 Hexo 迁移至 Valaxy")
|
|
72
|
-
];
|
|
73
|
-
}
|
|
74
|
-
}),
|
|
75
|
-
_: 1
|
|
76
|
-
/* STABLE */
|
|
77
|
-
}, _parent2, _scopeId));
|
|
78
|
-
_push2(`</li></ul><h2 id="从其他任意博客框架迁移" tabindex="-1"${_scopeId}>从其他任意博客框架迁移 `);
|
|
79
|
-
_push2(ssrRenderComponent(_component_AppLink, {
|
|
80
|
-
class: "header-anchor",
|
|
81
|
-
href: "#从其他任意博客框架迁移",
|
|
82
|
-
"aria-label": 'Permalink to "从其他任意博客框架迁移"'
|
|
83
|
-
}, {
|
|
84
|
-
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
85
|
-
if (_push3) {
|
|
86
|
-
_push3(``);
|
|
87
|
-
} else {
|
|
88
|
-
return [
|
|
89
|
-
createTextVNode("")
|
|
90
|
-
];
|
|
91
|
-
}
|
|
92
|
-
}),
|
|
93
|
-
_: 1
|
|
94
|
-
/* STABLE */
|
|
95
|
-
}, _parent2, _scopeId));
|
|
96
|
-
_push2(`</h2><ul${_scopeId}><li${_scopeId}>将你的文章(Markdown 文件)复制至 Valaxy <code${_scopeId}>pages/posts</code> 目录下。</li><li${_scopeId}>将你的自定义页面(非文章的 Markdown/HTML 文件)复制至 Valaxy <code${_scopeId}>pages</code> 目录下。</li><li${_scopeId}>将你的静态资源(图片等)复制至 Valaxy <code${_scopeId}>public</code> 目录下。</li><li${_scopeId}>参考 `);
|
|
97
|
-
_push2(ssrRenderComponent(_component_AppLink, { href: "/guide/config/" }, {
|
|
98
|
-
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
99
|
-
if (_push3) {
|
|
100
|
-
_push3(`配置`);
|
|
101
|
-
} else {
|
|
102
|
-
return [
|
|
103
|
-
createTextVNode("配置")
|
|
104
|
-
];
|
|
105
|
-
}
|
|
106
|
-
}),
|
|
107
|
-
_: 1
|
|
108
|
-
/* STABLE */
|
|
109
|
-
}, _parent2, _scopeId));
|
|
110
|
-
_push2(` 配置你的配置文件 <code${_scopeId}>valaxy.config.ts</code>/<code${_scopeId}>site.config.ts</code>。</li></ul><h2 lang="zh-CN" id="常见问题" tabindex="-1"${_scopeId}>常见问题 `);
|
|
111
|
-
_push2(ssrRenderComponent(_component_AppLink, {
|
|
112
|
-
class: "header-anchor",
|
|
113
|
-
href: "#常见问题",
|
|
114
|
-
"aria-label": 'Permalink to "常见问题 {lang="zh-CN"}"'
|
|
115
|
-
}, {
|
|
116
|
-
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
117
|
-
if (_push3) {
|
|
118
|
-
_push3(``);
|
|
119
|
-
} else {
|
|
120
|
-
return [
|
|
121
|
-
createTextVNode("")
|
|
122
|
-
];
|
|
123
|
-
}
|
|
124
|
-
}),
|
|
125
|
-
_: 1
|
|
126
|
-
/* STABLE */
|
|
127
|
-
}, _parent2, _scopeId));
|
|
128
|
-
_push2(`</h2><h2 lang="en" id="common-problems" tabindex="-1"${_scopeId}>Common Problems `);
|
|
129
|
-
_push2(ssrRenderComponent(_component_AppLink, {
|
|
130
|
-
class: "header-anchor",
|
|
131
|
-
href: "#common-problems",
|
|
132
|
-
"aria-label": 'Permalink to "Common Problems {lang="en"}"'
|
|
133
|
-
}, {
|
|
134
|
-
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
135
|
-
if (_push3) {
|
|
136
|
-
_push3(``);
|
|
137
|
-
} else {
|
|
138
|
-
return [
|
|
139
|
-
createTextVNode("")
|
|
140
|
-
];
|
|
141
|
-
}
|
|
142
|
-
}),
|
|
143
|
-
_: 1
|
|
144
|
-
/* STABLE */
|
|
145
|
-
}, _parent2, _scopeId));
|
|
146
|
-
_push2(`</h2><h3 lang="zh-CN" id="摘要截断符" tabindex="-1"${_scopeId}>摘要截断符 `);
|
|
147
|
-
_push2(ssrRenderComponent(_component_AppLink, {
|
|
148
|
-
class: "header-anchor",
|
|
149
|
-
href: "#摘要截断符",
|
|
150
|
-
"aria-label": 'Permalink to "摘要截断符 {lang="zh-CN"}"'
|
|
151
|
-
}, {
|
|
152
|
-
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
153
|
-
if (_push3) {
|
|
154
|
-
_push3(``);
|
|
155
|
-
} else {
|
|
156
|
-
return [
|
|
157
|
-
createTextVNode("")
|
|
158
|
-
];
|
|
159
|
-
}
|
|
160
|
-
}),
|
|
161
|
-
_: 1
|
|
162
|
-
/* STABLE */
|
|
163
|
-
}, _parent2, _scopeId));
|
|
164
|
-
_push2(`</h3><h3 lang="en" id="read-more-separator" tabindex="-1"${_scopeId}>Read More Separator `);
|
|
165
|
-
_push2(ssrRenderComponent(_component_AppLink, {
|
|
166
|
-
class: "header-anchor",
|
|
167
|
-
href: "#read-more-separator",
|
|
168
|
-
"aria-label": 'Permalink to "Read More Separator {lang="en"}"'
|
|
169
|
-
}, {
|
|
170
|
-
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
171
|
-
if (_push3) {
|
|
172
|
-
_push3(``);
|
|
173
|
-
} else {
|
|
174
|
-
return [
|
|
175
|
-
createTextVNode("")
|
|
176
|
-
];
|
|
177
|
-
}
|
|
178
|
-
}),
|
|
179
|
-
_: 1
|
|
180
|
-
/* STABLE */
|
|
181
|
-
}, _parent2, _scopeId));
|
|
182
|
-
_push2(`</h3><div lang="zh-CN"${_scopeId}><p${_scopeId}>默认为 <code${_scopeId}><!-- more --></code>,<code${_scopeId}>more</code> 前后需有空格。</p></div><div lang="en"${_scopeId}><p${_scopeId}>Default to <code${_scopeId}><-- More --></code>, there are spaces before and after <code${_scopeId}>more</code>.</p></div><h3 lang="zh-CN" id="markdown-换行" tabindex="-1"${_scopeId}>Markdown 换行 `);
|
|
183
|
-
_push2(ssrRenderComponent(_component_AppLink, {
|
|
184
|
-
class: "header-anchor",
|
|
185
|
-
href: "#markdown-换行",
|
|
186
|
-
"aria-label": 'Permalink to "Markdown 换行 {lang="zh-CN"}"'
|
|
187
|
-
}, {
|
|
188
|
-
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
189
|
-
if (_push3) {
|
|
190
|
-
_push3(``);
|
|
191
|
-
} else {
|
|
192
|
-
return [
|
|
193
|
-
createTextVNode("")
|
|
194
|
-
];
|
|
195
|
-
}
|
|
196
|
-
}),
|
|
197
|
-
_: 1
|
|
198
|
-
/* STABLE */
|
|
199
|
-
}, _parent2, _scopeId));
|
|
200
|
-
_push2(`</h3><h3 lang="en" id="newline-in-markdown" tabindex="-1"${_scopeId}>Newline in Markdown `);
|
|
201
|
-
_push2(ssrRenderComponent(_component_AppLink, {
|
|
202
|
-
class: "header-anchor",
|
|
203
|
-
href: "#newline-in-markdown",
|
|
204
|
-
"aria-label": 'Permalink to "Newline in Markdown {lang="en"}"'
|
|
205
|
-
}, {
|
|
206
|
-
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
207
|
-
if (_push3) {
|
|
208
|
-
_push3(``);
|
|
209
|
-
} else {
|
|
210
|
-
return [
|
|
211
|
-
createTextVNode("")
|
|
212
|
-
];
|
|
213
|
-
}
|
|
214
|
-
}),
|
|
215
|
-
_: 1
|
|
216
|
-
/* STABLE */
|
|
217
|
-
}, _parent2, _scopeId));
|
|
218
|
-
_push2(`</h3><div lang="zh-CN"${_scopeId}><p${_scopeId}>Valaxy 的 Markdown 解析基于 `);
|
|
219
|
-
_push2(ssrRenderComponent(_component_AppLink, {
|
|
220
|
-
href: "https://github.com/markdown-it/markdown-it",
|
|
221
|
-
target: "_blank",
|
|
222
|
-
rel: "noreferrer"
|
|
223
|
-
}, {
|
|
224
|
-
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
225
|
-
if (_push3) {
|
|
226
|
-
_push3(`<code${_scopeId2}>markdown-it</code>`);
|
|
227
|
-
} else {
|
|
228
|
-
return [
|
|
229
|
-
createVNode("code", null, "markdown-it")
|
|
230
|
-
];
|
|
231
|
-
}
|
|
232
|
-
}),
|
|
233
|
-
_: 1
|
|
234
|
-
/* STABLE */
|
|
235
|
-
}, _parent2, _scopeId));
|
|
236
|
-
_push2(` 实现。</p><p${_scopeId}><code${_scopeId}>markdown-it</code> 的策略在 Markdown 中换行后渲染的内容并没有换行:</p><div class="language-md"${_scopeId}><button title="Copy Code" class="copy"${_scopeId}></button><span class="lang"${_scopeId}>md</span><pre class="shiki github-dark vp-code-dark"${_scopeId}><code${_scopeId}><span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>第一行</span></span>
|
|
237
|
-
<span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>没有换行</span></span></code></pre><pre class="shiki github-light vp-code-light"${_scopeId}><code${_scopeId}><span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>第一行</span></span>
|
|
238
|
-
<span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>没有换行</span></span></code></pre></div><p${_scopeId}>第一行 没有换行</p><hr${_scopeId}><p${_scopeId}>如果需要正常换行,需在末尾添加两个空格:</p><div class="language-md"${_scopeId}><button title="Copy Code" class="copy"${_scopeId}></button><span class="lang"${_scopeId}>md</span><pre class="shiki github-dark vp-code-dark"${_scopeId}><code${_scopeId}><span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>第一行(末尾有两个空格) </span></span>
|
|
239
|
-
<span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>换行了</span></span></code></pre><pre class="shiki github-light vp-code-light"${_scopeId}><code${_scopeId}><span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>第一行(末尾有两个空格) </span></span>
|
|
240
|
-
<span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>换行了</span></span></code></pre></div><p${_scopeId}>第一行(末尾有两个空格)<br${_scopeId}> 换行了</p></div><div lang="en"${_scopeId}><p${_scopeId}>Markdown rendering in Valaxy is based on `);
|
|
241
|
-
_push2(ssrRenderComponent(_component_AppLink, {
|
|
242
|
-
href: "https://github.com/markdown-it/markdown-it",
|
|
243
|
-
target: "_blank",
|
|
244
|
-
rel: "noreferrer"
|
|
245
|
-
}, {
|
|
246
|
-
default: withCtx((_2, _push3, _parent3, _scopeId2) => {
|
|
247
|
-
if (_push3) {
|
|
248
|
-
_push3(`<code${_scopeId2}>markdown-it</code>`);
|
|
249
|
-
} else {
|
|
250
|
-
return [
|
|
251
|
-
createVNode("code", null, "markdown-it")
|
|
252
|
-
];
|
|
253
|
-
}
|
|
254
|
-
}),
|
|
255
|
-
_: 1
|
|
256
|
-
/* STABLE */
|
|
257
|
-
}, _parent2, _scopeId));
|
|
258
|
-
_push2(`.</p><p${_scopeId}>The default strategy of <code${_scopeId}>markdown-it</code> does not wrap the rendered content when wrapping in Markdown:</p><div class="language-md"${_scopeId}><button title="Copy Code" class="copy"${_scopeId}></button><span class="lang"${_scopeId}>md</span><pre class="shiki github-dark vp-code-dark"${_scopeId}><code${_scopeId}><span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>first line</span></span>
|
|
259
|
-
<span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>second line but not wrapped</span></span></code></pre><pre class="shiki github-light vp-code-light"${_scopeId}><code${_scopeId}><span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>first line</span></span>
|
|
260
|
-
<span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>second line but not wrapped</span></span></code></pre></div><p${_scopeId}>first line second line but not wrapped</p><hr${_scopeId}><p${_scopeId}>If you want to move the second line to a new line, add two spaces at the end of the first line:</p><div class="language-md"${_scopeId}><button title="Copy Code" class="copy"${_scopeId}></button><span class="lang"${_scopeId}>md</span><pre class="shiki github-dark vp-code-dark"${_scopeId}><code${_scopeId}><span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>first line (with two spaces at the end) </span></span>
|
|
261
|
-
<span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#E1E4E8" })}"${_scopeId}>second line got wrapped corrently</span></span></code></pre><pre class="shiki github-light vp-code-light"${_scopeId}><code${_scopeId}><span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>first line (with two spaces at the end) </span></span>
|
|
262
|
-
<span class="line"${_scopeId}><span style="${ssrRenderStyle({ "color": "#24292E" })}"${_scopeId}>second line got wrapped corrently</span></span></code></pre></div><p${_scopeId}>first line (with two spaces at the end)<br${_scopeId}> second line got wrapped corrently</p></div>`);
|
|
263
|
-
} else {
|
|
264
|
-
return [
|
|
265
|
-
createVNode("h2", {
|
|
266
|
-
id: "从-hexo-迁移至-valaxy",
|
|
267
|
-
tabindex: "-1"
|
|
268
|
-
}, [
|
|
269
|
-
createTextVNode("从 Hexo 迁移至 Valaxy "),
|
|
270
|
-
createVNode(_component_AppLink, {
|
|
271
|
-
class: "header-anchor",
|
|
272
|
-
href: "#从-hexo-迁移至-valaxy",
|
|
273
|
-
"aria-label": 'Permalink to "从 Hexo 迁移至 Valaxy"'
|
|
274
|
-
}, {
|
|
275
|
-
default: withCtx(() => [
|
|
276
|
-
createTextVNode("")
|
|
277
|
-
]),
|
|
278
|
-
_: 1
|
|
279
|
-
/* STABLE */
|
|
280
|
-
})
|
|
281
|
-
]),
|
|
282
|
-
createVNode("ul", null, [
|
|
283
|
-
createVNode("li", null, [
|
|
284
|
-
createVNode(_component_AppLink, { href: "/migration/hexo" }, {
|
|
285
|
-
default: withCtx(() => [
|
|
286
|
-
createTextVNode("从 Hexo 迁移至 Valaxy")
|
|
287
|
-
]),
|
|
288
|
-
_: 1
|
|
289
|
-
/* STABLE */
|
|
290
|
-
})
|
|
291
|
-
])
|
|
292
|
-
]),
|
|
293
|
-
createVNode("h2", {
|
|
294
|
-
id: "从其他任意博客框架迁移",
|
|
295
|
-
tabindex: "-1"
|
|
296
|
-
}, [
|
|
297
|
-
createTextVNode("从其他任意博客框架迁移 "),
|
|
298
|
-
createVNode(_component_AppLink, {
|
|
299
|
-
class: "header-anchor",
|
|
300
|
-
href: "#从其他任意博客框架迁移",
|
|
301
|
-
"aria-label": 'Permalink to "从其他任意博客框架迁移"'
|
|
302
|
-
}, {
|
|
303
|
-
default: withCtx(() => [
|
|
304
|
-
createTextVNode("")
|
|
305
|
-
]),
|
|
306
|
-
_: 1
|
|
307
|
-
/* STABLE */
|
|
308
|
-
})
|
|
309
|
-
]),
|
|
310
|
-
createVNode("ul", null, [
|
|
311
|
-
createVNode("li", null, [
|
|
312
|
-
createTextVNode("将你的文章(Markdown 文件)复制至 Valaxy "),
|
|
313
|
-
createVNode("code", null, "pages/posts"),
|
|
314
|
-
createTextVNode(" 目录下。")
|
|
315
|
-
]),
|
|
316
|
-
createVNode("li", null, [
|
|
317
|
-
createTextVNode("将你的自定义页面(非文章的 Markdown/HTML 文件)复制至 Valaxy "),
|
|
318
|
-
createVNode("code", null, "pages"),
|
|
319
|
-
createTextVNode(" 目录下。")
|
|
320
|
-
]),
|
|
321
|
-
createVNode("li", null, [
|
|
322
|
-
createTextVNode("将你的静态资源(图片等)复制至 Valaxy "),
|
|
323
|
-
createVNode("code", null, "public"),
|
|
324
|
-
createTextVNode(" 目录下。")
|
|
325
|
-
]),
|
|
326
|
-
createVNode("li", null, [
|
|
327
|
-
createTextVNode("参考 "),
|
|
328
|
-
createVNode(_component_AppLink, { href: "/guide/config/" }, {
|
|
329
|
-
default: withCtx(() => [
|
|
330
|
-
createTextVNode("配置")
|
|
331
|
-
]),
|
|
332
|
-
_: 1
|
|
333
|
-
/* STABLE */
|
|
334
|
-
}),
|
|
335
|
-
createTextVNode(" 配置你的配置文件 "),
|
|
336
|
-
createVNode("code", null, "valaxy.config.ts"),
|
|
337
|
-
createTextVNode("/"),
|
|
338
|
-
createVNode("code", null, "site.config.ts"),
|
|
339
|
-
createTextVNode("。")
|
|
340
|
-
])
|
|
341
|
-
]),
|
|
342
|
-
createVNode("h2", {
|
|
343
|
-
lang: "zh-CN",
|
|
344
|
-
id: "常见问题",
|
|
345
|
-
tabindex: "-1"
|
|
346
|
-
}, [
|
|
347
|
-
createTextVNode("常见问题 "),
|
|
348
|
-
createVNode(_component_AppLink, {
|
|
349
|
-
class: "header-anchor",
|
|
350
|
-
href: "#常见问题",
|
|
351
|
-
"aria-label": 'Permalink to "常见问题 {lang="zh-CN"}"'
|
|
352
|
-
}, {
|
|
353
|
-
default: withCtx(() => [
|
|
354
|
-
createTextVNode("")
|
|
355
|
-
]),
|
|
356
|
-
_: 1
|
|
357
|
-
/* STABLE */
|
|
358
|
-
})
|
|
359
|
-
]),
|
|
360
|
-
createVNode("h2", {
|
|
361
|
-
lang: "en",
|
|
362
|
-
id: "common-problems",
|
|
363
|
-
tabindex: "-1"
|
|
364
|
-
}, [
|
|
365
|
-
createTextVNode("Common Problems "),
|
|
366
|
-
createVNode(_component_AppLink, {
|
|
367
|
-
class: "header-anchor",
|
|
368
|
-
href: "#common-problems",
|
|
369
|
-
"aria-label": 'Permalink to "Common Problems {lang="en"}"'
|
|
370
|
-
}, {
|
|
371
|
-
default: withCtx(() => [
|
|
372
|
-
createTextVNode("")
|
|
373
|
-
]),
|
|
374
|
-
_: 1
|
|
375
|
-
/* STABLE */
|
|
376
|
-
})
|
|
377
|
-
]),
|
|
378
|
-
createVNode("h3", {
|
|
379
|
-
lang: "zh-CN",
|
|
380
|
-
id: "摘要截断符",
|
|
381
|
-
tabindex: "-1"
|
|
382
|
-
}, [
|
|
383
|
-
createTextVNode("摘要截断符 "),
|
|
384
|
-
createVNode(_component_AppLink, {
|
|
385
|
-
class: "header-anchor",
|
|
386
|
-
href: "#摘要截断符",
|
|
387
|
-
"aria-label": 'Permalink to "摘要截断符 {lang="zh-CN"}"'
|
|
388
|
-
}, {
|
|
389
|
-
default: withCtx(() => [
|
|
390
|
-
createTextVNode("")
|
|
391
|
-
]),
|
|
392
|
-
_: 1
|
|
393
|
-
/* STABLE */
|
|
394
|
-
})
|
|
395
|
-
]),
|
|
396
|
-
createVNode("h3", {
|
|
397
|
-
lang: "en",
|
|
398
|
-
id: "read-more-separator",
|
|
399
|
-
tabindex: "-1"
|
|
400
|
-
}, [
|
|
401
|
-
createTextVNode("Read More Separator "),
|
|
402
|
-
createVNode(_component_AppLink, {
|
|
403
|
-
class: "header-anchor",
|
|
404
|
-
href: "#read-more-separator",
|
|
405
|
-
"aria-label": 'Permalink to "Read More Separator {lang="en"}"'
|
|
406
|
-
}, {
|
|
407
|
-
default: withCtx(() => [
|
|
408
|
-
createTextVNode("")
|
|
409
|
-
]),
|
|
410
|
-
_: 1
|
|
411
|
-
/* STABLE */
|
|
412
|
-
})
|
|
413
|
-
]),
|
|
414
|
-
createVNode("div", { lang: "zh-CN" }, [
|
|
415
|
-
createVNode("p", null, [
|
|
416
|
-
createTextVNode("默认为 "),
|
|
417
|
-
createVNode("code", null, "<!-- more -->"),
|
|
418
|
-
createTextVNode(","),
|
|
419
|
-
createVNode("code", null, "more"),
|
|
420
|
-
createTextVNode(" 前后需有空格。")
|
|
421
|
-
])
|
|
422
|
-
]),
|
|
423
|
-
createVNode("div", { lang: "en" }, [
|
|
424
|
-
createVNode("p", null, [
|
|
425
|
-
createTextVNode("Default to "),
|
|
426
|
-
createVNode("code", null, "<-- More -->"),
|
|
427
|
-
createTextVNode(", there are spaces before and after "),
|
|
428
|
-
createVNode("code", null, "more"),
|
|
429
|
-
createTextVNode(".")
|
|
430
|
-
])
|
|
431
|
-
]),
|
|
432
|
-
createVNode("h3", {
|
|
433
|
-
lang: "zh-CN",
|
|
434
|
-
id: "markdown-换行",
|
|
435
|
-
tabindex: "-1"
|
|
436
|
-
}, [
|
|
437
|
-
createTextVNode("Markdown 换行 "),
|
|
438
|
-
createVNode(_component_AppLink, {
|
|
439
|
-
class: "header-anchor",
|
|
440
|
-
href: "#markdown-换行",
|
|
441
|
-
"aria-label": 'Permalink to "Markdown 换行 {lang="zh-CN"}"'
|
|
442
|
-
}, {
|
|
443
|
-
default: withCtx(() => [
|
|
444
|
-
createTextVNode("")
|
|
445
|
-
]),
|
|
446
|
-
_: 1
|
|
447
|
-
/* STABLE */
|
|
448
|
-
})
|
|
449
|
-
]),
|
|
450
|
-
createVNode("h3", {
|
|
451
|
-
lang: "en",
|
|
452
|
-
id: "newline-in-markdown",
|
|
453
|
-
tabindex: "-1"
|
|
454
|
-
}, [
|
|
455
|
-
createTextVNode("Newline in Markdown "),
|
|
456
|
-
createVNode(_component_AppLink, {
|
|
457
|
-
class: "header-anchor",
|
|
458
|
-
href: "#newline-in-markdown",
|
|
459
|
-
"aria-label": 'Permalink to "Newline in Markdown {lang="en"}"'
|
|
460
|
-
}, {
|
|
461
|
-
default: withCtx(() => [
|
|
462
|
-
createTextVNode("")
|
|
463
|
-
]),
|
|
464
|
-
_: 1
|
|
465
|
-
/* STABLE */
|
|
466
|
-
})
|
|
467
|
-
]),
|
|
468
|
-
createVNode("div", { lang: "zh-CN" }, [
|
|
469
|
-
createVNode("p", null, [
|
|
470
|
-
createTextVNode("Valaxy 的 Markdown 解析基于 "),
|
|
471
|
-
createVNode(_component_AppLink, {
|
|
472
|
-
href: "https://github.com/markdown-it/markdown-it",
|
|
473
|
-
target: "_blank",
|
|
474
|
-
rel: "noreferrer"
|
|
475
|
-
}, {
|
|
476
|
-
default: withCtx(() => [
|
|
477
|
-
createVNode("code", null, "markdown-it")
|
|
478
|
-
]),
|
|
479
|
-
_: 1
|
|
480
|
-
/* STABLE */
|
|
481
|
-
}),
|
|
482
|
-
createTextVNode(" 实现。")
|
|
483
|
-
]),
|
|
484
|
-
createVNode("p", null, [
|
|
485
|
-
createVNode("code", null, "markdown-it"),
|
|
486
|
-
createTextVNode(" 的策略在 Markdown 中换行后渲染的内容并没有换行:")
|
|
487
|
-
]),
|
|
488
|
-
createVNode("div", { class: "language-md" }, [
|
|
489
|
-
createVNode("button", {
|
|
490
|
-
title: "Copy Code",
|
|
491
|
-
class: "copy"
|
|
492
|
-
}),
|
|
493
|
-
createVNode("span", { class: "lang" }, "md"),
|
|
494
|
-
createVNode("pre", { class: "shiki github-dark vp-code-dark" }, [
|
|
495
|
-
createVNode("code", null, [
|
|
496
|
-
createVNode("span", { class: "line" }, [
|
|
497
|
-
createVNode("span", { style: { "color": "#E1E4E8" } }, "第一行")
|
|
498
|
-
]),
|
|
499
|
-
createTextVNode("\n"),
|
|
500
|
-
createVNode("span", { class: "line" }, [
|
|
501
|
-
createVNode("span", { style: { "color": "#E1E4E8" } }, "没有换行")
|
|
502
|
-
])
|
|
503
|
-
])
|
|
504
|
-
]),
|
|
505
|
-
createVNode("pre", { class: "shiki github-light vp-code-light" }, [
|
|
506
|
-
createVNode("code", null, [
|
|
507
|
-
createVNode("span", { class: "line" }, [
|
|
508
|
-
createVNode("span", { style: { "color": "#24292E" } }, "第一行")
|
|
509
|
-
]),
|
|
510
|
-
createTextVNode("\n"),
|
|
511
|
-
createVNode("span", { class: "line" }, [
|
|
512
|
-
createVNode("span", { style: { "color": "#24292E" } }, "没有换行")
|
|
513
|
-
])
|
|
514
|
-
])
|
|
515
|
-
])
|
|
516
|
-
]),
|
|
517
|
-
createVNode("p", null, "第一行 没有换行"),
|
|
518
|
-
createVNode("hr"),
|
|
519
|
-
createVNode("p", null, "如果需要正常换行,需在末尾添加两个空格:"),
|
|
520
|
-
createVNode("div", { class: "language-md" }, [
|
|
521
|
-
createVNode("button", {
|
|
522
|
-
title: "Copy Code",
|
|
523
|
-
class: "copy"
|
|
524
|
-
}),
|
|
525
|
-
createVNode("span", { class: "lang" }, "md"),
|
|
526
|
-
createVNode("pre", { class: "shiki github-dark vp-code-dark" }, [
|
|
527
|
-
createVNode("code", null, [
|
|
528
|
-
createVNode("span", { class: "line" }, [
|
|
529
|
-
createVNode("span", { style: { "color": "#E1E4E8" } }, "第一行(末尾有两个空格) ")
|
|
530
|
-
]),
|
|
531
|
-
createTextVNode("\n"),
|
|
532
|
-
createVNode("span", { class: "line" }, [
|
|
533
|
-
createVNode("span", { style: { "color": "#E1E4E8" } }, "换行了")
|
|
534
|
-
])
|
|
535
|
-
])
|
|
536
|
-
]),
|
|
537
|
-
createVNode("pre", { class: "shiki github-light vp-code-light" }, [
|
|
538
|
-
createVNode("code", null, [
|
|
539
|
-
createVNode("span", { class: "line" }, [
|
|
540
|
-
createVNode("span", { style: { "color": "#24292E" } }, "第一行(末尾有两个空格) ")
|
|
541
|
-
]),
|
|
542
|
-
createTextVNode("\n"),
|
|
543
|
-
createVNode("span", { class: "line" }, [
|
|
544
|
-
createVNode("span", { style: { "color": "#24292E" } }, "换行了")
|
|
545
|
-
])
|
|
546
|
-
])
|
|
547
|
-
])
|
|
548
|
-
]),
|
|
549
|
-
createVNode("p", null, [
|
|
550
|
-
createTextVNode("第一行(末尾有两个空格)"),
|
|
551
|
-
createVNode("br"),
|
|
552
|
-
createTextVNode(" 换行了")
|
|
553
|
-
])
|
|
554
|
-
]),
|
|
555
|
-
createVNode("div", { lang: "en" }, [
|
|
556
|
-
createVNode("p", null, [
|
|
557
|
-
createTextVNode("Markdown rendering in Valaxy is based on "),
|
|
558
|
-
createVNode(_component_AppLink, {
|
|
559
|
-
href: "https://github.com/markdown-it/markdown-it",
|
|
560
|
-
target: "_blank",
|
|
561
|
-
rel: "noreferrer"
|
|
562
|
-
}, {
|
|
563
|
-
default: withCtx(() => [
|
|
564
|
-
createVNode("code", null, "markdown-it")
|
|
565
|
-
]),
|
|
566
|
-
_: 1
|
|
567
|
-
/* STABLE */
|
|
568
|
-
}),
|
|
569
|
-
createTextVNode(".")
|
|
570
|
-
]),
|
|
571
|
-
createVNode("p", null, [
|
|
572
|
-
createTextVNode("The default strategy of "),
|
|
573
|
-
createVNode("code", null, "markdown-it"),
|
|
574
|
-
createTextVNode(" does not wrap the rendered content when wrapping in Markdown:")
|
|
575
|
-
]),
|
|
576
|
-
createVNode("div", { class: "language-md" }, [
|
|
577
|
-
createVNode("button", {
|
|
578
|
-
title: "Copy Code",
|
|
579
|
-
class: "copy"
|
|
580
|
-
}),
|
|
581
|
-
createVNode("span", { class: "lang" }, "md"),
|
|
582
|
-
createVNode("pre", { class: "shiki github-dark vp-code-dark" }, [
|
|
583
|
-
createVNode("code", null, [
|
|
584
|
-
createVNode("span", { class: "line" }, [
|
|
585
|
-
createVNode("span", { style: { "color": "#E1E4E8" } }, "first line")
|
|
586
|
-
]),
|
|
587
|
-
createTextVNode("\n"),
|
|
588
|
-
createVNode("span", { class: "line" }, [
|
|
589
|
-
createVNode("span", { style: { "color": "#E1E4E8" } }, "second line but not wrapped")
|
|
590
|
-
])
|
|
591
|
-
])
|
|
592
|
-
]),
|
|
593
|
-
createVNode("pre", { class: "shiki github-light vp-code-light" }, [
|
|
594
|
-
createVNode("code", null, [
|
|
595
|
-
createVNode("span", { class: "line" }, [
|
|
596
|
-
createVNode("span", { style: { "color": "#24292E" } }, "first line")
|
|
597
|
-
]),
|
|
598
|
-
createTextVNode("\n"),
|
|
599
|
-
createVNode("span", { class: "line" }, [
|
|
600
|
-
createVNode("span", { style: { "color": "#24292E" } }, "second line but not wrapped")
|
|
601
|
-
])
|
|
602
|
-
])
|
|
603
|
-
])
|
|
604
|
-
]),
|
|
605
|
-
createVNode("p", null, "first line second line but not wrapped"),
|
|
606
|
-
createVNode("hr"),
|
|
607
|
-
createVNode("p", null, "If you want to move the second line to a new line, add two spaces at the end of the first line:"),
|
|
608
|
-
createVNode("div", { class: "language-md" }, [
|
|
609
|
-
createVNode("button", {
|
|
610
|
-
title: "Copy Code",
|
|
611
|
-
class: "copy"
|
|
612
|
-
}),
|
|
613
|
-
createVNode("span", { class: "lang" }, "md"),
|
|
614
|
-
createVNode("pre", { class: "shiki github-dark vp-code-dark" }, [
|
|
615
|
-
createVNode("code", null, [
|
|
616
|
-
createVNode("span", { class: "line" }, [
|
|
617
|
-
createVNode("span", { style: { "color": "#E1E4E8" } }, "first line (with two spaces at the end) ")
|
|
618
|
-
]),
|
|
619
|
-
createTextVNode("\n"),
|
|
620
|
-
createVNode("span", { class: "line" }, [
|
|
621
|
-
createVNode("span", { style: { "color": "#E1E4E8" } }, "second line got wrapped corrently")
|
|
622
|
-
])
|
|
623
|
-
])
|
|
624
|
-
]),
|
|
625
|
-
createVNode("pre", { class: "shiki github-light vp-code-light" }, [
|
|
626
|
-
createVNode("code", null, [
|
|
627
|
-
createVNode("span", { class: "line" }, [
|
|
628
|
-
createVNode("span", { style: { "color": "#24292E" } }, "first line (with two spaces at the end) ")
|
|
629
|
-
]),
|
|
630
|
-
createTextVNode("\n"),
|
|
631
|
-
createVNode("span", { class: "line" }, [
|
|
632
|
-
createVNode("span", { style: { "color": "#24292E" } }, "second line got wrapped corrently")
|
|
633
|
-
])
|
|
634
|
-
])
|
|
635
|
-
])
|
|
636
|
-
]),
|
|
637
|
-
createVNode("p", null, [
|
|
638
|
-
createTextVNode("first line (with two spaces at the end)"),
|
|
639
|
-
createVNode("br"),
|
|
640
|
-
createTextVNode(" second line got wrapped corrently")
|
|
641
|
-
])
|
|
642
|
-
])
|
|
643
|
-
];
|
|
644
|
-
}
|
|
645
|
-
}),
|
|
646
|
-
"main-header": withCtx((_, _push2, _parent2, _scopeId) => {
|
|
647
|
-
if (_push2) {
|
|
648
|
-
ssrRenderSlot(_ctx.$slots, "main-header", {}, null, _push2, _parent2, _scopeId);
|
|
649
|
-
} else {
|
|
650
|
-
return [
|
|
651
|
-
renderSlot(_ctx.$slots, "main-header")
|
|
652
|
-
];
|
|
653
|
-
}
|
|
654
|
-
}),
|
|
655
|
-
"main-header-after": withCtx((_, _push2, _parent2, _scopeId) => {
|
|
656
|
-
if (_push2) {
|
|
657
|
-
ssrRenderSlot(_ctx.$slots, "main-header-after", {}, null, _push2, _parent2, _scopeId);
|
|
658
|
-
} else {
|
|
659
|
-
return [
|
|
660
|
-
renderSlot(_ctx.$slots, "main-header-after")
|
|
661
|
-
];
|
|
662
|
-
}
|
|
663
|
-
}),
|
|
664
|
-
"main-nav": withCtx((_, _push2, _parent2, _scopeId) => {
|
|
665
|
-
if (_push2) {
|
|
666
|
-
ssrRenderSlot(_ctx.$slots, "main-nav", {}, null, _push2, _parent2, _scopeId);
|
|
667
|
-
} else {
|
|
668
|
-
return [
|
|
669
|
-
renderSlot(_ctx.$slots, "main-nav")
|
|
670
|
-
];
|
|
671
|
-
}
|
|
672
|
-
}),
|
|
673
|
-
"main-content": withCtx((_, _push2, _parent2, _scopeId) => {
|
|
674
|
-
if (_push2) {
|
|
675
|
-
ssrRenderSlot(_ctx.$slots, "main-content", {}, null, _push2, _parent2, _scopeId);
|
|
676
|
-
} else {
|
|
677
|
-
return [
|
|
678
|
-
renderSlot(_ctx.$slots, "main-content")
|
|
679
|
-
];
|
|
680
|
-
}
|
|
681
|
-
}),
|
|
682
|
-
"main-content-after": withCtx((_, _push2, _parent2, _scopeId) => {
|
|
683
|
-
if (_push2) {
|
|
684
|
-
ssrRenderSlot(_ctx.$slots, "main-content-after", {}, null, _push2, _parent2, _scopeId);
|
|
685
|
-
} else {
|
|
686
|
-
return [
|
|
687
|
-
renderSlot(_ctx.$slots, "main-content-after")
|
|
688
|
-
];
|
|
689
|
-
}
|
|
690
|
-
}),
|
|
691
|
-
"main-nav-before": withCtx((_, _push2, _parent2, _scopeId) => {
|
|
692
|
-
if (_push2) {
|
|
693
|
-
ssrRenderSlot(_ctx.$slots, "main-nav-before", {}, null, _push2, _parent2, _scopeId);
|
|
694
|
-
} else {
|
|
695
|
-
return [
|
|
696
|
-
renderSlot(_ctx.$slots, "main-nav-before")
|
|
697
|
-
];
|
|
698
|
-
}
|
|
699
|
-
}),
|
|
700
|
-
"main-nav-after": withCtx((_, _push2, _parent2, _scopeId) => {
|
|
701
|
-
if (_push2) {
|
|
702
|
-
ssrRenderSlot(_ctx.$slots, "main-nav-after", {}, null, _push2, _parent2, _scopeId);
|
|
703
|
-
} else {
|
|
704
|
-
return [
|
|
705
|
-
renderSlot(_ctx.$slots, "main-nav-after")
|
|
706
|
-
];
|
|
707
|
-
}
|
|
708
|
-
}),
|
|
709
|
-
comment: withCtx((_, _push2, _parent2, _scopeId) => {
|
|
710
|
-
if (_push2) {
|
|
711
|
-
ssrRenderSlot(_ctx.$slots, "comment", {}, null, _push2, _parent2, _scopeId);
|
|
712
|
-
} else {
|
|
713
|
-
return [
|
|
714
|
-
renderSlot(_ctx.$slots, "comment")
|
|
715
|
-
];
|
|
716
|
-
}
|
|
717
|
-
}),
|
|
718
|
-
footer: withCtx((_, _push2, _parent2, _scopeId) => {
|
|
719
|
-
if (_push2) {
|
|
720
|
-
ssrRenderSlot(_ctx.$slots, "footer", {}, null, _push2, _parent2, _scopeId);
|
|
721
|
-
} else {
|
|
722
|
-
return [
|
|
723
|
-
renderSlot(_ctx.$slots, "footer")
|
|
724
|
-
];
|
|
725
|
-
}
|
|
726
|
-
}),
|
|
727
|
-
aside: withCtx((_, _push2, _parent2, _scopeId) => {
|
|
728
|
-
if (_push2) {
|
|
729
|
-
ssrRenderSlot(_ctx.$slots, "aside", {}, null, _push2, _parent2, _scopeId);
|
|
730
|
-
} else {
|
|
731
|
-
return [
|
|
732
|
-
renderSlot(_ctx.$slots, "aside")
|
|
733
|
-
];
|
|
734
|
-
}
|
|
735
|
-
}),
|
|
736
|
-
"aside-custom": withCtx((_, _push2, _parent2, _scopeId) => {
|
|
737
|
-
if (_push2) {
|
|
738
|
-
ssrRenderSlot(_ctx.$slots, "aside-custom", {}, null, _push2, _parent2, _scopeId);
|
|
739
|
-
} else {
|
|
740
|
-
return [
|
|
741
|
-
renderSlot(_ctx.$slots, "aside-custom")
|
|
742
|
-
];
|
|
743
|
-
}
|
|
744
|
-
}),
|
|
745
|
-
default: withCtx((_, _push2, _parent2, _scopeId) => {
|
|
746
|
-
if (_push2) {
|
|
747
|
-
ssrRenderSlot(_ctx.$slots, "default", {}, null, _push2, _parent2, _scopeId);
|
|
748
|
-
} else {
|
|
749
|
-
return [
|
|
750
|
-
renderSlot(_ctx.$slots, "default")
|
|
751
|
-
];
|
|
752
|
-
}
|
|
753
|
-
}),
|
|
754
|
-
_: 3
|
|
755
|
-
/* FORWARDED */
|
|
756
|
-
}, _parent));
|
|
757
|
-
}
|
|
758
|
-
const _sfc_setup = _sfc_main.setup;
|
|
759
|
-
_sfc_main.setup = (props, ctx) => {
|
|
760
|
-
const ssrContext = useSSRContext();
|
|
761
|
-
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../../../docs/pages/migration/index.md");
|
|
762
|
-
return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
|
|
763
|
-
};
|
|
764
|
-
const index = /* @__PURE__ */ _export_sfc(_sfc_main, [["ssrRender", _sfc_ssrRender]]);
|
|
765
|
-
export {
|
|
766
|
-
__pageData,
|
|
767
|
-
index as default
|
|
768
|
-
};
|