remark-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.
Files changed (2) hide show
  1. package/README.md +3 -3
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -1,8 +1,8 @@
1
1
  # remark-skeudo
2
2
 
3
- > Experimental, 0.x: the format and this API can change in any minor version. [CHANGELOG.md](https://github.com/wlezzar/skeudo/blob/main/CHANGELOG.md) lists the changes.
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 [remark](https://github.com/remarkjs/remark) plugin that renders [Skeudo](https://github.com/wlezzar/skeudo) sketches in Markdown and MDX. A sketch is pseudocode for code review where every outside effect is tagged, or, when it starts with a `data` line, a data model drawn as tables and a story of how their rows change. The format is defined in [spec/spec.md](https://github.com/wlezzar/skeudo/blob/main/spec/spec.md).
5
+ A [remark](https://github.com/remarkjs/remark) plugin that renders [Skeudo](https://github.com/wlezzar/skeudo) sketches in Markdown and MDX. 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.
@@ -43,7 +43,7 @@ const js = await compile(mdx, { remarkPlugins: [remarkSkeudo] });
43
43
 
44
44
  Site generators built on remark take it in their list of remark plugins, such as `markdown.remarkPlugins` in Astro. To pass options, give the plugin and its options as a pair: `[remarkSkeudo, { inlineTags: false }]`.
45
45
 
46
- 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.
46
+ 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.
47
47
 
48
48
  ### Docusaurus
49
49
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "remark-skeudo",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "description": "A remark plugin that renders Skeudo sketches in Markdown and MDX: 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",
@@ -41,8 +41,8 @@
41
41
  "dependencies": {
42
42
  "@types/hast": "^3.0.5",
43
43
  "@types/mdast": "^4.0.4",
44
- "@skeudo/core": "0.1.0",
45
- "@skeudo/html": "0.1.0"
44
+ "@skeudo/core": "0.2.0",
45
+ "@skeudo/html": "0.2.0"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@mdx-js/mdx": "^3.1.1",