vitepress-plugin-toolkit 0.1.0 → 0.2.0

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.
@@ -2,6 +2,7 @@
2
2
  display: flex;
3
3
  align-items: center;
4
4
  justify-content: center;
5
+ padding-block: 1em;
5
6
  font-size: 36px;
6
7
  color: currentcolor;
7
8
  background-color: inherit;
@@ -137,6 +137,7 @@ function createContainerSyntaxPlugin(md, type, render) {
137
137
  const token = state.push(`${type}_container`, "", 0);
138
138
  token.meta = resolveAttrs(info.slice(type.length));
139
139
  token.content = content;
140
+ token.info = info.slice(type.length).trim();
140
141
  token.markup = `${markup} ${type}`;
141
142
  token.map = [startLine, line + 1];
142
143
  state.line = line + 1;
package/package.json CHANGED
@@ -1,10 +1,15 @@
1
1
  {
2
2
  "name": "vitepress-plugin-toolkit",
3
3
  "type": "module",
4
- "version": "0.1.0",
4
+ "version": "0.2.0",
5
5
  "description": "Development toolkit for vitepress plugins",
6
6
  "author": "pengzhanbo <q942450674@outlook.com> (https://github.com/pengzhanbo/)",
7
7
  "license": "MIT",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "git+https://github.com/pengzhanbo/vitepress-tuck.git",
11
+ "directory": "packages/plugin-toolkit"
12
+ },
8
13
  "keywords": [
9
14
  "vitepress",
10
15
  "vitepress-plugin",
@@ -38,7 +43,8 @@
38
43
  "markdown-it-container": "^4.0.0"
39
44
  },
40
45
  "publishConfig": {
41
- "access": "public"
46
+ "access": "public",
47
+ "provenance": true
42
48
  },
43
49
  "scripts": {
44
50
  "clean": "rimraf --glob ./dist",