markdown-it-skeudo 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.
- package/README.md +3 -3
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# markdown-it-skeudo
|
|
2
2
|
|
|
3
|
-
>
|
|
3
|
+
> **Alpha.** The format and this API will change in ways that break existing sketches and code. Until 1.0, breaking changes come in minor versions (0.1 to 0.2), never in patches, and the [release notes](https://github.com/wlezzar/skeudo/releases) list each one.
|
|
4
4
|
|
|
5
|
-
A [markdown-it](https://github.com/markdown-it/markdown-it) plugin that renders [Skeudo](https://github.com/wlezzar/skeudo) sketches. A sketch is pseudocode for code review where every outside effect is tagged, or
|
|
5
|
+
A [markdown-it](https://github.com/markdown-it/markdown-it) plugin that renders [Skeudo](https://github.com/wlezzar/skeudo) sketches. A sketch is pseudocode for code review where every outside effect is tagged, or a data model drawn as tables and a story of how their rows change, and its first line says which: `view: code` or `view: data`. The format is defined in [spec/spec.md](https://github.com/wlezzar/skeudo/blob/main/spec/spec.md).
|
|
6
6
|
|
|
7
7
|
- Every ` ```skeudo ` fence becomes a sketch (` ```sketch ` works too).
|
|
8
8
|
- Inline code made only of tags, such as `` `::read:postgres.users` ``, becomes pills.
|
|
@@ -21,7 +21,7 @@ const md = new MarkdownIt().use(markdownItSkeudo);
|
|
|
21
21
|
const html = md.render(markdown);
|
|
22
22
|
```
|
|
23
23
|
|
|
24
|
-
The page needs the stylesheet, `@skeudo/html/skeudo.css`, and `enhance()` from `@skeudo/html`, called once in the browser for hovering names, explanations in a popover and stepping through data sketches. [`@skeudo/html`](https://www.npmjs.com/package/@skeudo/html) is installed with the plugin, and its README says what each one does.
|
|
24
|
+
The page needs the stylesheet, `@skeudo/html/skeudo.css`, and `enhance()` from `@skeudo/html`, called once in the browser for hovering names, explanations in a popover, folding blocks and stepping through data sketches. [`@skeudo/html`](https://www.npmjs.com/package/@skeudo/html) is installed with the plugin, and its README says what each one does.
|
|
25
25
|
|
|
26
26
|
### VitePress
|
|
27
27
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "markdown-it-skeudo",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "A markdown-it plugin that renders Skeudo sketches: pseudocode with every outside effect tagged, and data models drawn as tables with a story of how their rows change.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"skeudo",
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
"node": ">=22"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@skeudo/core": "0.
|
|
41
|
-
"@skeudo/html": "0.
|
|
40
|
+
"@skeudo/core": "0.2.0",
|
|
41
|
+
"@skeudo/html": "0.2.0"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
44
44
|
"markdown-it": ">=14"
|