@md-plugins/vite-md-plugin 0.1.0-alpha.16 → 0.1.0-alpha.17

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.
Files changed (2) hide show
  1. package/dist/index.mjs +4 -4
  2. package/package.json +13 -13
package/dist/index.mjs CHANGED
@@ -164,12 +164,12 @@ function createNav(id, env, flatMenu) {
164
164
  if (flatMenu) {
165
165
  const menuItem = flatMenu[id];
166
166
  const nav = [];
167
- if (menuItem !== void 0) {
167
+ if (menuItem !== undefined) {
168
168
  const { prev, next } = menuItem;
169
- if (prev !== void 0) {
169
+ if (prev !== undefined) {
170
170
  nav.push({ ...prev, classes: "markdown-page__related--left" });
171
171
  }
172
- if (next !== void 0) {
172
+ if (next !== undefined) {
173
173
  nav.push({ ...next, classes: "markdown-page__related--right" });
174
174
  }
175
175
  }
@@ -275,7 +275,7 @@ function mdParse(code, id, prefix, menu) {
275
275
  env.pageScripts.add("import MarkdownTree from 'src/.q-press/components/MarkdownTree.vue'");
276
276
  }
277
277
  const results = md.render(code, env);
278
- if (env.frontmatter.examples !== void 0) {
278
+ if (env.frontmatter.examples !== undefined) {
279
279
  env.pageScripts.add(
280
280
  "import MarkdownExample from 'src/.q-press/components/MarkdownExample.vue'"
281
281
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@md-plugins/vite-md-plugin",
3
- "version": "0.1.0-alpha.16",
3
+ "version": "0.1.0-alpha.17",
4
4
  "description": "A very opinionated Vite plugin for @md-plugins.",
5
5
  "keywords": [
6
6
  "markdown-it",
@@ -36,18 +36,18 @@
36
36
  ],
37
37
  "dependencies": {
38
38
  "markdown-it": "^14.1.0",
39
- "@md-plugins/md-plugin-codeblocks": "0.1.0-alpha.16",
40
- "@md-plugins/md-plugin-containers": "0.1.0-alpha.16",
41
- "@md-plugins/md-plugin-frontmatter": "0.1.0-alpha.16",
42
- "@md-plugins/md-plugin-headers": "0.1.0-alpha.16",
43
- "@md-plugins/md-plugin-image": "0.1.0-alpha.16",
44
- "@md-plugins/md-plugin-inlinecode": "0.1.0-alpha.16",
45
- "@md-plugins/md-plugin-imports": "0.1.0-alpha.16",
46
- "@md-plugins/md-plugin-blockquote": "0.1.0-alpha.16",
47
- "@md-plugins/md-plugin-title": "0.1.0-alpha.16",
48
- "@md-plugins/md-plugin-link": "0.1.0-alpha.16",
49
- "@md-plugins/md-plugin-table": "0.1.0-alpha.16",
50
- "@md-plugins/shared": "0.1.0-alpha.16"
39
+ "@md-plugins/md-plugin-codeblocks": "0.1.0-alpha.17",
40
+ "@md-plugins/md-plugin-containers": "0.1.0-alpha.17",
41
+ "@md-plugins/md-plugin-frontmatter": "0.1.0-alpha.17",
42
+ "@md-plugins/md-plugin-headers": "0.1.0-alpha.17",
43
+ "@md-plugins/md-plugin-imports": "0.1.0-alpha.17",
44
+ "@md-plugins/md-plugin-image": "0.1.0-alpha.17",
45
+ "@md-plugins/md-plugin-inlinecode": "0.1.0-alpha.17",
46
+ "@md-plugins/md-plugin-link": "0.1.0-alpha.17",
47
+ "@md-plugins/md-plugin-blockquote": "0.1.0-alpha.17",
48
+ "@md-plugins/md-plugin-table": "0.1.0-alpha.17",
49
+ "@md-plugins/md-plugin-title": "0.1.0-alpha.17",
50
+ "@md-plugins/shared": "0.1.0-alpha.17"
51
51
  },
52
52
  "devDependencies": {
53
53
  "@types/markdown-it": "^14.1.2",