@md-plugins/quasar-app-extension-q-press 0.1.0-beta.5 → 0.1.0-beta.6

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/README.md CHANGED
@@ -4,9 +4,9 @@ The Ultimate Markdown Solution for the Quasar Framework.
4
4
 
5
5
  See the [documentation](https://md-plugins.netlify.app/quasar-app-extensions/qpress/overview) for more information.
6
6
 
7
- > Current beta release: `0.1.0-beta.4`.
7
+ > Current beta release: `0.1.0-beta.6`.
8
8
  >
9
- > Q-Press currently targets Quasar Vite projects using `@quasar/app-vite` `>=3.0.0-beta.19`. TypeScript processing is required.
9
+ > Q-Press currently targets Quasar Vite projects using `@quasar/app-vite` `>=3.0.0-beta.26`. TypeScript processing is required.
10
10
 
11
11
  ## Features
12
12
 
package/dist/index.js CHANGED
@@ -31,7 +31,7 @@ export default defineIndexScript((api) => {
31
31
  throw new Error('This extension requires Vite');
32
32
  }
33
33
  api.compatibleWith('quasar', '^2.0.0');
34
- api.compatibleWith('@quasar/app-vite', '>=3.0.0-beta.19');
34
+ api.compatibleWith('@quasar/app-vite', '>=3.0.0-beta.26');
35
35
  // here we extend /quasar.config, so we can add some Vite/Vue stuff
36
36
  api.extendQuasarConf(async (config) => {
37
37
  config.build ??= {};
package/dist/install.js CHANGED
@@ -11,7 +11,7 @@ export default defineInstallScript(async (api) => {
11
11
  throw new Error('This extension requires Vite');
12
12
  }
13
13
  api.compatibleWith('quasar', '^2.0.0');
14
- api.compatibleWith('@quasar/app-vite', '>=3.0.0-beta.19');
14
+ api.compatibleWith('@quasar/app-vite', '>=3.0.0-beta.26');
15
15
  // project must have pinia installed
16
16
  if ((await api.getStorePackageName()) !== 'pinia') {
17
17
  console.error('-----------------------------');
@@ -21,7 +21,7 @@ Markdown Plugins are a set of tools and extensions designed to enhance the funct
21
21
  - **Title Extraction**: Extract the first header in Markdown as the page title.
22
22
  - **Script Imports**: Extract and process **<script import>** blocks from Markdown.
23
23
  - **Code Block Enhancements**: Enhance code block rendering with syntax highlighting, tabs, and more.
24
- - **Custom Styling**: Apply custom styles to your Markdown content for a more polished look.
24
+ - **Custom Styling**: Apply custom styles to your Markdown content for a more refined look.
25
25
  - **Integration**: Easily integrate with other tools and platforms to streamline your workflow.
26
26
 
27
27
  ## Why Use Markdown Plugins?
@@ -48,7 +48,7 @@ Here are some examples of what you can achieve with Markdown Plugins:
48
48
 
49
49
  - **Custom Syntax**: Add custom syntax for specific use cases.
50
50
  - **Enhanced Components**: Embed interactive and enhanced components.
51
- - **Custom Styling**: Apply custom styles to your content for a polished look.
51
+ - **Custom Styling**: Apply custom styles to your content for a refined look.
52
52
  - **Frontmatter Support**: Extract and process frontmatter content from your Markdown files.
53
53
  - **Header Management**: Extract and process headers for generating ToCs or managing headers.
54
54
  - **Inline Code Styling**: Add custom classes to inline code blocks for styling.
@@ -7,16 +7,16 @@ related:
7
7
  - vite-plugins/vite-md-plugin/overview
8
8
  ---
9
9
 
10
- The `0.1.0` beta line moves MD-Plugins and Q-Press to the Quasar CLI Vite 3 beta toolchain. It is the right version to use when your Quasar application is being upgraded to `@quasar/app-vite` `>=3.0.0-beta.19`.
10
+ The `0.1.0` beta line moves MD-Plugins and Q-Press to the Quasar CLI Vite 3 beta toolchain. It is the right version to use when your Quasar application is being upgraded to `@quasar/app-vite` `>=3.0.0-beta.26`.
11
11
 
12
12
  ::: warning
13
- Q-Press and the Quasar app extensions now target Quasar Vite projects using `@quasar/app-vite` `>=3.0.0-beta.19`. They are not intended for Webpack projects or JavaScript-only Quasar projects.
13
+ Q-Press and the Quasar app extensions now target Quasar Vite projects using `@quasar/app-vite` `>=3.0.0-beta.26`. They are not intended for Webpack projects or JavaScript-only Quasar projects.
14
14
  :::
15
15
 
16
16
  ## Before You Upgrade
17
17
 
18
18
  - Make sure your app is already on a Quasar Vite setup.
19
- - Upgrade the app to `@quasar/app-vite` `>=3.0.0-beta.19`.
19
+ - Upgrade the app to `@quasar/app-vite` `>=3.0.0-beta.26`.
20
20
  - Use TypeScript in the consuming Quasar project.
21
21
  - Import `defineConfig` in `quasar.config.ts` directly from `@quasar/app-vite`.
22
22
  - Use `/// <reference types="@quasar/app-vite/client" />` in `src/env.d.ts`.
@@ -6,7 +6,7 @@ desc: Q-Press App-Extension for Quasar.
6
6
  The Q-Press App Extension is a powerful tool for Quasar developers that simplifies the integration of Markdown content into Quasar applications. It leverages the capabilities of Vite and various Markdown plugins to transform Markdown files into Vue components, enabling a seamless and efficient workflow for content management.
7
7
 
8
8
  ::: warning
9
- Q-Press is for Quasar Vite projects using `@quasar/app-vite` `>=3.0.0-beta.19` at this time. TypeScript processing is also required. Do not use if you are using Webpack or have a JavaScript-only project.
9
+ Q-Press is for Quasar Vite projects using `@quasar/app-vite` `>=3.0.0-beta.26` at this time. TypeScript processing is also required. Do not use if you are using Webpack or have a JavaScript-only project.
10
10
  :::
11
11
 
12
12
  ::: tip
@@ -9,7 +9,7 @@ related:
9
9
  The `viteMdPluginAppExt` is a [Quasar App Extension](https://quasar.dev/app-extensions/introduction) that integrates the `viteMdPlugin` into your Quasar project. This extension allows you to use Markdown files as Vue components, enabling a seamless integration of Markdown content into your Quasar application.
10
10
 
11
11
  ::: warning
12
- This app extension targets Quasar Vite projects using `@quasar/app-vite` `>=3.0.0-beta.19`.
12
+ This app extension targets Quasar Vite projects using `@quasar/app-vite` `>=3.0.0-beta.26`.
13
13
  :::
14
14
 
15
15
  ## Key Features
@@ -1,6 +1,26 @@
1
+ /// <reference types="@quasar/app-vite/client" />
2
+
1
3
  declare module '*.md'
2
4
 
3
- // Define types for headers
5
+ declare module '@md-plugins/md-plugin-headers' {
6
+ export interface TocItem {
7
+ id: string
8
+ level: number
9
+ title: string
10
+ [key: string]: unknown
11
+ }
12
+ }
13
+
14
+ interface ImportMetaHot {
15
+ accept(callback?: (..._args: unknown[]) => unknown): void
16
+ }
17
+
18
+ interface ImportMeta {
19
+ readonly env: ImportMetaEnv
20
+ glob: <T = unknown>(pattern: string) => Record<string, () => Promise<T>>
21
+ hot?: ImportMetaHot
22
+ }
23
+
4
24
  interface TocMenuItem {
5
25
  id: string
6
26
  level: number
@@ -1,6 +1,26 @@
1
+ /// <reference types="@quasar/app-vite/client" />
2
+
1
3
  declare module '*.md'
2
4
 
3
- // Define types for headers
5
+ declare module '@md-plugins/md-plugin-headers' {
6
+ export interface TocItem {
7
+ id: string
8
+ level: number
9
+ title: string
10
+ [key: string]: unknown
11
+ }
12
+ }
13
+
14
+ interface ImportMetaHot {
15
+ accept(callback?: (..._args: unknown[]) => unknown): void
16
+ }
17
+
18
+ interface ImportMeta {
19
+ readonly env: ImportMetaEnv
20
+ glob: <T = unknown>(pattern: string) => Record<string, () => Promise<T>>
21
+ hot?: ImportMetaHot
22
+ }
23
+
4
24
  interface TocMenuItem {
5
25
  id: string
6
26
  level: number
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@md-plugins/quasar-app-extension-q-press",
3
- "version": "0.1.0-beta.5",
3
+ "version": "0.1.0-beta.6",
4
4
  "description": "QPress - The Ultimate Markdown Solution for Quasar Framework",
5
5
  "keywords": [
6
6
  "markdown",
@@ -29,32 +29,32 @@
29
29
  "@types/markdown-it": "^14.1.2",
30
30
  "fs-extra": "^11.3.5",
31
31
  "markdown-it": "^14.1.1",
32
- "@md-plugins/md-plugin-blockquote": "0.1.0-beta.5",
33
- "@md-plugins/md-plugin-frontmatter": "0.1.0-beta.5",
34
- "@md-plugins/md-plugin-headers": "0.1.0-beta.5",
35
- "@md-plugins/md-plugin-containers": "0.1.0-beta.5",
36
- "@md-plugins/md-plugin-image": "0.1.0-beta.5",
37
- "@md-plugins/md-plugin-codeblocks": "0.1.0-beta.5",
38
- "@md-plugins/md-plugin-imports": "0.1.0-beta.5",
39
- "@md-plugins/md-plugin-inlinecode": "0.1.0-beta.5",
40
- "@md-plugins/md-plugin-link": "0.1.0-beta.5",
41
- "@md-plugins/md-plugin-table": "0.1.0-beta.5",
42
- "@md-plugins/md-plugin-title": "0.1.0-beta.5",
43
- "@md-plugins/shared": "0.1.0-beta.5",
44
- "@md-plugins/vite-md-plugin": "0.1.0-beta.5"
32
+ "@md-plugins/md-plugin-blockquote": "0.1.0-beta.6",
33
+ "@md-plugins/md-plugin-codeblocks": "0.1.0-beta.6",
34
+ "@md-plugins/md-plugin-containers": "0.1.0-beta.6",
35
+ "@md-plugins/md-plugin-frontmatter": "0.1.0-beta.6",
36
+ "@md-plugins/md-plugin-headers": "0.1.0-beta.6",
37
+ "@md-plugins/md-plugin-image": "0.1.0-beta.6",
38
+ "@md-plugins/md-plugin-link": "0.1.0-beta.6",
39
+ "@md-plugins/md-plugin-imports": "0.1.0-beta.6",
40
+ "@md-plugins/md-plugin-title": "0.1.0-beta.6",
41
+ "@md-plugins/md-plugin-inlinecode": "0.1.0-beta.6",
42
+ "@md-plugins/md-plugin-table": "0.1.0-beta.6",
43
+ "@md-plugins/shared": "0.1.0-beta.6",
44
+ "@md-plugins/vite-md-plugin": "0.1.0-beta.6"
45
45
  },
46
46
  "devDependencies": {
47
- "@quasar/app-vite": "3.0.0-beta.20",
47
+ "@quasar/app-vite": "3.0.0-beta.26",
48
48
  "@types/markdown-it": "^14.1.2",
49
49
  "vite": "^8.0.14"
50
50
  },
51
51
  "peerDependencies": {
52
- "@quasar/app-vite": ">=3.0.0-beta.20",
52
+ "@quasar/app-vite": ">=3.0.0-beta.26",
53
53
  "markdown-it": "^14.1.0"
54
54
  },
55
55
  "engines": {
56
56
  "node": ">=22.13",
57
- "pnpm": ">=11.1.0"
57
+ "pnpm": ">=11.3.0"
58
58
  },
59
59
  "scripts": {
60
60
  "build": "pnpm exec tsc -p ./tsconfig.build.json && node ./scripts/build.js",
package/src/index.ts CHANGED
@@ -54,7 +54,7 @@ export default defineIndexScript((api) => {
54
54
  }
55
55
 
56
56
  api.compatibleWith('quasar', '^2.0.0')
57
- api.compatibleWith('@quasar/app-vite', '>=3.0.0-beta.19')
57
+ api.compatibleWith('@quasar/app-vite', '>=3.0.0-beta.26')
58
58
 
59
59
  // here we extend /quasar.config, so we can add some Vite/Vue stuff
60
60
  api.extendQuasarConf(async (config) => {
package/src/install.ts CHANGED
@@ -14,7 +14,7 @@ export default defineInstallScript(async (api) => {
14
14
  }
15
15
 
16
16
  api.compatibleWith('quasar', '^2.0.0')
17
- api.compatibleWith('@quasar/app-vite', '>=3.0.0-beta.19')
17
+ api.compatibleWith('@quasar/app-vite', '>=3.0.0-beta.26')
18
18
 
19
19
  // project must have pinia installed
20
20
  if ((await api.getStorePackageName()) !== 'pinia') {
@@ -328,33 +328,30 @@ body.q-scroll--lock .q-page > .q-scroll--anchor {
328
328
  overflow-anchor: auto;
329
329
  }
330
330
 
331
- // Makes scrollbars look better for header drop-downs and search results.
332
- .markdown-header-menu,
333
- .markdown-search__results {
334
- &::-webkit-scrollbar {
335
- height: 12px;
336
- width: 14px;
337
- background: transparent;
338
- z-index: 12;
339
- overflow: visible;
340
- }
341
-
342
- &::-webkit-scrollbar-thumb {
343
- width: 10px;
344
- background-color: $brand-primary;
345
- border-radius: 10px;
346
- z-index: 12;
347
- border: 4px solid rgba(0, 0, 0, 0);
348
- background-clip: padding-box;
349
- transition: background-color $header-quick-transition;
350
- margin: 4px;
351
- min-height: 32px;
352
- min-width: 32px;
353
- }
354
-
355
- &::-webkit-scrollbar-thumb:hover {
356
- background: $brand-primary;
357
- }
331
+ // makes the scroll bar look better for the drop-down menus in the header
332
+ ::-webkit-scrollbar {
333
+ height: 12px;
334
+ width: 14px;
335
+ background: transparent;
336
+ z-index: 12;
337
+ overflow: visible;
338
+ }
339
+
340
+ ::-webkit-scrollbar-thumb {
341
+ width: 10px;
342
+ background-color: $brand-primary;
343
+ border-radius: 10px;
344
+ z-index: 12;
345
+ border: 4px solid rgba(0, 0, 0, 0);
346
+ background-clip: padding-box;
347
+ transition: background-color $header-quick-transition;
348
+ margin: 4px;
349
+ min-height: 32px;
350
+ min-width: 32px;
351
+ }
352
+
353
+ ::-webkit-scrollbar-thumb:hover {
354
+ background: $brand-primary;
358
355
  }
359
356
 
360
357
  .shadow-bottom {
@@ -21,7 +21,7 @@ Markdown Plugins are a set of tools and extensions designed to enhance the funct
21
21
  - **Title Extraction**: Extract the first header in Markdown as the page title.
22
22
  - **Script Imports**: Extract and process **&lt;script import&gt;** blocks from Markdown.
23
23
  - **Code Block Enhancements**: Enhance code block rendering with syntax highlighting, tabs, and more.
24
- - **Custom Styling**: Apply custom styles to your Markdown content for a more polished look.
24
+ - **Custom Styling**: Apply custom styles to your Markdown content for a more refined look.
25
25
  - **Integration**: Easily integrate with other tools and platforms to streamline your workflow.
26
26
 
27
27
  ## Why Use Markdown Plugins?
@@ -48,7 +48,7 @@ Here are some examples of what you can achieve with Markdown Plugins:
48
48
 
49
49
  - **Custom Syntax**: Add custom syntax for specific use cases.
50
50
  - **Enhanced Components**: Embed interactive and enhanced components.
51
- - **Custom Styling**: Apply custom styles to your content for a polished look.
51
+ - **Custom Styling**: Apply custom styles to your content for a refined look.
52
52
  - **Frontmatter Support**: Extract and process frontmatter content from your Markdown files.
53
53
  - **Header Management**: Extract and process headers for generating ToCs or managing headers.
54
54
  - **Inline Code Styling**: Add custom classes to inline code blocks for styling.
@@ -7,16 +7,16 @@ related:
7
7
  - vite-plugins/vite-md-plugin/overview
8
8
  ---
9
9
 
10
- The `0.1.0` beta line moves MD-Plugins and Q-Press to the Quasar CLI Vite 3 beta toolchain. It is the right version to use when your Quasar application is being upgraded to `@quasar/app-vite` `>=3.0.0-beta.19`.
10
+ The `0.1.0` beta line moves MD-Plugins and Q-Press to the Quasar CLI Vite 3 beta toolchain. It is the right version to use when your Quasar application is being upgraded to `@quasar/app-vite` `>=3.0.0-beta.26`.
11
11
 
12
12
  ::: warning
13
- Q-Press and the Quasar app extensions now target Quasar Vite projects using `@quasar/app-vite` `>=3.0.0-beta.19`. They are not intended for Webpack projects or JavaScript-only Quasar projects.
13
+ Q-Press and the Quasar app extensions now target Quasar Vite projects using `@quasar/app-vite` `>=3.0.0-beta.26`. They are not intended for Webpack projects or JavaScript-only Quasar projects.
14
14
  :::
15
15
 
16
16
  ## Before You Upgrade
17
17
 
18
18
  - Make sure your app is already on a Quasar Vite setup.
19
- - Upgrade the app to `@quasar/app-vite` `>=3.0.0-beta.19`.
19
+ - Upgrade the app to `@quasar/app-vite` `>=3.0.0-beta.26`.
20
20
  - Use TypeScript in the consuming Quasar project.
21
21
  - Import `defineConfig` in `quasar.config.ts` directly from `@quasar/app-vite`.
22
22
  - Use `/// <reference types="@quasar/app-vite/client" />` in `src/env.d.ts`.
@@ -6,7 +6,7 @@ desc: Q-Press App-Extension for Quasar.
6
6
  The Q-Press App Extension is a powerful tool for Quasar developers that simplifies the integration of Markdown content into Quasar applications. It leverages the capabilities of Vite and various Markdown plugins to transform Markdown files into Vue components, enabling a seamless and efficient workflow for content management.
7
7
 
8
8
  ::: warning
9
- Q-Press is for Quasar Vite projects using `@quasar/app-vite` `>=3.0.0-beta.19` at this time. TypeScript processing is also required. Do not use if you are using Webpack or have a JavaScript-only project.
9
+ Q-Press is for Quasar Vite projects using `@quasar/app-vite` `>=3.0.0-beta.26` at this time. TypeScript processing is also required. Do not use if you are using Webpack or have a JavaScript-only project.
10
10
  :::
11
11
 
12
12
  ::: tip
@@ -9,7 +9,7 @@ related:
9
9
  The `viteMdPluginAppExt` is a [Quasar App Extension](https://quasar.dev/app-extensions/introduction) that integrates the `viteMdPlugin` into your Quasar project. This extension allows you to use Markdown files as Vue components, enabling a seamless integration of Markdown content into your Quasar application.
10
10
 
11
11
  ::: warning
12
- This app extension targets Quasar Vite projects using `@quasar/app-vite` `>=3.0.0-beta.19`.
12
+ This app extension targets Quasar Vite projects using `@quasar/app-vite` `>=3.0.0-beta.26`.
13
13
  :::
14
14
 
15
15
  ## Key Features
@@ -1,6 +1,26 @@
1
+ /// <reference types="@quasar/app-vite/client" />
2
+
1
3
  declare module '*.md'
2
4
 
3
- // Define types for headers
5
+ declare module '@md-plugins/md-plugin-headers' {
6
+ export interface TocItem {
7
+ id: string
8
+ level: number
9
+ title: string
10
+ [key: string]: unknown
11
+ }
12
+ }
13
+
14
+ interface ImportMetaHot {
15
+ accept(callback?: (..._args: unknown[]) => unknown): void
16
+ }
17
+
18
+ interface ImportMeta {
19
+ readonly env: ImportMetaEnv
20
+ glob: <T = unknown>(pattern: string) => Record<string, () => Promise<T>>
21
+ hot?: ImportMetaHot
22
+ }
23
+
4
24
  interface TocMenuItem {
5
25
  id: string
6
26
  level: number
@@ -328,33 +328,30 @@ body.q-scroll--lock .q-page > .q-scroll--anchor {
328
328
  overflow-anchor: auto;
329
329
  }
330
330
 
331
- // Makes scrollbars look better for header drop-downs and search results.
332
- .markdown-header-menu,
333
- .markdown-search__results {
334
- &::-webkit-scrollbar {
335
- height: 12px;
336
- width: 14px;
337
- background: transparent;
338
- z-index: 12;
339
- overflow: visible;
340
- }
341
-
342
- &::-webkit-scrollbar-thumb {
343
- width: 10px;
344
- background-color: $brand-primary;
345
- border-radius: 10px;
346
- z-index: 12;
347
- border: 4px solid rgba(0, 0, 0, 0);
348
- background-clip: padding-box;
349
- transition: background-color $header-quick-transition;
350
- margin: 4px;
351
- min-height: 32px;
352
- min-width: 32px;
353
- }
354
-
355
- &::-webkit-scrollbar-thumb:hover {
356
- background: $brand-primary;
357
- }
331
+ // makes the scroll bar look better for the drop-down menus in the header
332
+ ::-webkit-scrollbar {
333
+ height: 12px;
334
+ width: 14px;
335
+ background: transparent;
336
+ z-index: 12;
337
+ overflow: visible;
338
+ }
339
+
340
+ ::-webkit-scrollbar-thumb {
341
+ width: 10px;
342
+ background-color: $brand-primary;
343
+ border-radius: 10px;
344
+ z-index: 12;
345
+ border: 4px solid rgba(0, 0, 0, 0);
346
+ background-clip: padding-box;
347
+ transition: background-color $header-quick-transition;
348
+ margin: 4px;
349
+ min-height: 32px;
350
+ min-width: 32px;
351
+ }
352
+
353
+ ::-webkit-scrollbar-thumb:hover {
354
+ background: $brand-primary;
358
355
  }
359
356
 
360
357
  .shadow-bottom {
@@ -1,6 +1,26 @@
1
+ /// <reference types="@quasar/app-vite/client" />
2
+
1
3
  declare module '*.md'
2
4
 
3
- // Define types for headers
5
+ declare module '@md-plugins/md-plugin-headers' {
6
+ export interface TocItem {
7
+ id: string
8
+ level: number
9
+ title: string
10
+ [key: string]: unknown
11
+ }
12
+ }
13
+
14
+ interface ImportMetaHot {
15
+ accept(callback?: (..._args: unknown[]) => unknown): void
16
+ }
17
+
18
+ interface ImportMeta {
19
+ readonly env: ImportMetaEnv
20
+ glob: <T = unknown>(pattern: string) => Record<string, () => Promise<T>>
21
+ hot?: ImportMetaHot
22
+ }
23
+
4
24
  interface TocMenuItem {
5
25
  id: string
6
26
  level: number