@dice-roller/vuepress-plugin-dice-roller 0.1.9 → 0.1.10
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 +9 -5
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<p align="center">
|
|
2
|
-
<img src="
|
|
2
|
+
<img src="http://greenimp.github.io/rpg-dice-roller/dice-roller-logo.png" alt="RPG Dice Roller" style="max-width: 100%;" width="200"/>
|
|
3
3
|
</p>
|
|
4
4
|
|
|
5
5
|
# RPG Dice Roller Vuepress Plugin
|
|
@@ -23,10 +23,8 @@ Then add the plugin to your Vuepress config file:
|
|
|
23
23
|
|
|
24
24
|
```javascript
|
|
25
25
|
module.exports = {
|
|
26
|
-
...
|
|
27
26
|
plugins: [
|
|
28
|
-
|
|
29
|
-
'dice-roller',
|
|
27
|
+
'@dice-roller/vuepress-plugin-dice-roller',
|
|
30
28
|
],
|
|
31
29
|
};
|
|
32
30
|
```
|
|
@@ -34,7 +32,13 @@ module.exports = {
|
|
|
34
32
|
|
|
35
33
|
## Usage
|
|
36
34
|
|
|
37
|
-
You can add a
|
|
35
|
+
You can add a die roller anywhere by using the following markdown syntax:
|
|
36
|
+
|
|
37
|
+
```
|
|
38
|
+
::: roll :::
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
You can even specify the default notation with:
|
|
38
42
|
|
|
39
43
|
```
|
|
40
44
|
::: roll {notation} :::
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dice-roller/vuepress-plugin-dice-roller",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.10",
|
|
4
4
|
"description": "Plugin for VuePress that allows rolling dice",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
},
|
|
26
26
|
"homepage": "https://github.com/dice-roller/vuepress-plugin",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@dice-roller/vue": "^0.1.
|
|
28
|
+
"@dice-roller/vue": "^0.1.9",
|
|
29
29
|
"core-js": "^3.6.5",
|
|
30
30
|
"markdown-it-container": "^2.0.0",
|
|
31
31
|
"vue": "^2.6.12"
|