You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/src/pages/all-about-qmarkdown/installation-types.md
+20-10Lines changed: 20 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,9 @@ compilerOptions: {
23
23
24
24
As mentioned, this is buggy at the time of this writing. However, there is another way.
25
25
26
-
If using Quasar, and you did not install via the QMarkdown app-extension, then you need to modify your quasar.conf.js in the following way:
26
+
If using Quasar, and you did not install via the QMarkdown app-extension, then you need to modify your quasar.conf.js in the following ways, depending on using webpack (app-webpack) or vite (app-vite):
27
+
28
+
**app-webpack:**
27
29
28
30
```js
29
31
build: {
@@ -35,7 +37,21 @@ build: {
35
37
}
36
38
```
37
39
38
-
For Vue CLI and Vite, you will need to extrapolate this to fit your needs.
40
+
**app-vite:**
41
+
42
+
```js
43
+
build: {
44
+
viteVuePluginOptions: {
45
+
template: {
46
+
compilerOptions: {
47
+
isPreTag: (tag) => tag ==='pre '|| tag ==='q-markdown'
48
+
}
49
+
}
50
+
}
51
+
}
52
+
```
53
+
54
+
For the Vue CLI, you will need to extrapolate this to fit your needs.
39
55
40
56
## Quasar CLI
41
57
@@ -48,6 +64,8 @@ To add as an App Extension to your Quasar application, run the following (in you
48
64
$ quasar ext add @quasar/qmarkdown@next
49
65
```
50
66
67
+
Notice the `@next` for Quasar v2 supported version.
68
+
51
69
#### Uninstall
52
70
53
71
To remove as an App Extension from your Quasar application, run the following (in your Quasar app folder):
Copy file name to clipboardExpand all lines: docs/src/pages/developing/using-qmarkdown.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -151,9 +151,9 @@ QMarkdown has a number of built-in processors to handle inline markdown. These a
151
151
152
152
## Extending with Plugins
153
153
154
-
In order to reduce the payload size of QMarkdown and to increase performance, a lot of the "default" markdown-it plugins have been removed. If you have the need, you can add them back either via the `plugins` property or the global props, as descibed above.
154
+
In order to reduce the payload size of QMarkdown and to increase performance, a lot of the "default" markdown-it plugins have been removed for v2.0.0+. If you have the need, you can add them back either via the `plugins` property or the global props, as descibed above.
155
155
156
-
Here is a list of plugins that used to be in QMarkdown:
156
+
Here is a list of plugins that used to be in QMarkdown v1.x:
0 commit comments