themekit-js 1.1.36 → 1.1.38

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.
@@ -180,7 +180,7 @@ const heroImageSlotExists = inject('hero-image-slot-exists') as Ref<boolean>
180
180
  font-size: 18px;
181
181
  font-weight: 500;
182
182
  white-space: pre-wrap;
183
- color: var(--vp-c-text-2);
183
+ /**color: var(--vp-c-text-2);*/
184
184
  }
185
185
 
186
186
  .VPHero.has-image .tagline {
@@ -24,13 +24,13 @@ const styles= computed(() => {
24
24
  }
25
25
  }
26
26
  if(block['width']){
27
- styles.push({ 'width':block['width']})
27
+ styles.push({ 'width':block['width']})
28
28
  }
29
29
  if(block['height']){
30
- styles.push({ 'height':block['height']})
30
+ styles.push({ 'height':block['height']})
31
31
  }
32
32
  if(block['color']){
33
- styles.push({ 'color':block['color']})
33
+ styles.push({ 'color':block['color']})
34
34
  }
35
35
  return styles
36
36
  })
@@ -46,7 +46,8 @@ const styles= computed(() => {
46
46
  .doc{ background-size: cover;background-position: center; margin: 0 auto;}
47
47
  </style>
48
48
  <style scoped>
49
-
49
+ .vp-doc{ max-width: 100%;}
50
+
50
51
  .container {
51
52
  margin: auto;
52
53
  width: 100%;
@@ -264,7 +264,7 @@ const styles= computed(() => {
264
264
  font-size: 18px;
265
265
  font-weight: 500;
266
266
  white-space: pre-wrap;
267
- color: var(--vp-c-text-2);
267
+ /** color: var(--vp-c-text-2);*/
268
268
  }
269
269
  .tagline img{ display: inline-block; width:100px; margin-right: 12px; }
270
270
  .VPHero.has-image .tagline {
package/dist/node/cli.js CHANGED
@@ -1,4 +1,4 @@
1
- import { a as getDefaultExportFromCjs, q as c, t as clearCache, n as init, b as build, o as serve, v as version, p as createServer } from './serve-DokX1-DL.js';
1
+ import { a as getDefaultExportFromCjs, q as c, t as clearCache, n as init, b as build, o as serve, v as version, p as createServer } from './serve-CeublDXO.js';
2
2
  import { createLogger } from 'vite';
3
3
  import 'path';
4
4
  import 'shiki';
@@ -1,7 +1,7 @@
1
1
  import { normalizePath } from 'vite';
2
2
  export { loadEnv } from 'vite';
3
- import { g as glob, c as createMarkdownRenderer, f as fs, m as matter, a as getDefaultExportFromCjs } from './serve-DokX1-DL.js';
4
- export { S as ScaffoldThemeType, b as build, p as createServer, e as defineConfig, h as defineConfigWithTheme, d as defineLoader, n as init, j as mergeConfig, r as resolveConfig, l as resolvePages, k as resolveSiteData, i as resolveUserConfig, s as scaffold, o as serve } from './serve-DokX1-DL.js';
3
+ import { g as glob, c as createMarkdownRenderer, f as fs, m as matter, a as getDefaultExportFromCjs } from './serve-CeublDXO.js';
4
+ export { S as ScaffoldThemeType, b as build, p as createServer, e as defineConfig, h as defineConfigWithTheme, d as defineLoader, n as init, j as mergeConfig, r as resolveConfig, l as resolvePages, k as resolveSiteData, i as resolveUserConfig, s as scaffold, o as serve } from './serve-CeublDXO.js';
5
5
  import path from 'path';
6
6
  import 'crypto';
7
7
  import 'module';
@@ -37204,7 +37204,9 @@ const linkPlugin = (md, externalAttrs, base) => {
37204
37204
  const pattern = /[?&]([^=#]+)=([^&#]*)/g;
37205
37205
  let match;
37206
37206
  while ((match = pattern.exec(url)) !== null) {
37207
- token.attrSet(match[1], decodeURIComponent(match[2]));
37207
+ const attrName = match[1];
37208
+ const attrVal = match[2];
37209
+ token.attrSet(attrName, attrVal);
37208
37210
  }
37209
37211
  if (isExternal(url)) {
37210
37212
  Object.entries(externalAttrs).forEach(([key, val]) => {
@@ -46733,7 +46735,7 @@ function escapeHtml(string) {
46733
46735
 
46734
46736
  var escape$1 = /*@__PURE__*/getDefaultExportFromCjs(escapeHtml_1);
46735
46737
 
46736
- var version = "1.1.36";
46738
+ var version = "1.1.38";
46737
46739
 
46738
46740
  async function renderPage(render, config, page, result, appChunk, cssChunk, assets, pageToHashMap, metadataScript, additionalHeadTags) {
46739
46741
  const routePath = `/${page.replace(/\.md$/, "")}`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "themekit-js",
3
- "version": "1.1.36",
3
+ "version": "1.1.38",
4
4
  "description": "基于VitePress开发的Markdown静态网站生成器",
5
5
  "type": "module",
6
6
  "packageManager": "pnpm@8.15.6",