@md-plugins/md-plugin-codeblocks 0.1.0-alpha.8 → 0.1.0-alpha.9
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 +2 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -90,12 +90,14 @@ The `md-plugin-codeblocks` plugin supports the following options:
|
|
|
90
90
|
|
|
91
91
|
The plugin supports magic comments for inline annotations:
|
|
92
92
|
|
|
93
|
+
````markup
|
|
93
94
|
```js [numbered]
|
|
94
95
|
// All lines will be numbered
|
|
95
96
|
console.log('Line 1')
|
|
96
97
|
console.log('Line 2')
|
|
97
98
|
console.log('Line 3')
|
|
98
99
|
```
|
|
100
|
+
````
|
|
99
101
|
|
|
100
102
|
### Line Highlighting and Annotations
|
|
101
103
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@md-plugins/md-plugin-codeblocks",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.9",
|
|
4
4
|
"description": "A markdown-it plugin for code blocks.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"markdown-it",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"markdown-it": "^14.1.0",
|
|
37
37
|
"prismjs": "^1.29.0",
|
|
38
|
-
"@md-plugins/shared": "0.1.0-alpha.
|
|
38
|
+
"@md-plugins/shared": "0.1.0-alpha.9"
|
|
39
39
|
},
|
|
40
40
|
"publishConfig": {
|
|
41
41
|
"access": "public"
|