mdat 0.3.0 → 0.3.2

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/package.json +2 -2
  2. package/readme.md +4 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mdat",
3
- "version": "0.3.0",
3
+ "version": "0.3.2",
4
4
  "type": "module",
5
5
  "description": "CLI tool and library for using comments as content templates in Markdown files, with helpful presets for readmes.",
6
6
  "repository": {
@@ -70,7 +70,7 @@
70
70
  "which": "^4.0.0",
71
71
  "yargs": "^17.7.2",
72
72
  "zod": "^3.22.4",
73
- "remark-mdat": "0.3.0"
73
+ "remark-mdat": "0.3.2"
74
74
  },
75
75
  "devDependencies": {
76
76
  "@types/node": "^20.11.17",
package/readme.md CHANGED
@@ -54,9 +54,9 @@ This is a CLI tool and library implementing the Markdown Autophagic Template (md
54
54
  <!-- tldraw src: "./assets/mdat-flow.tldr" -->
55
55
 
56
56
  <picture>
57
- <source media="(prefers-color-scheme: dark)" srcset="assets/mdat-flow-c830c457-dark.svg">
58
- <source media="(prefers-color-scheme: light)" srcset="assets/mdat-flow-c830c457-light.svg">
59
- <img alt="tldraw diagram" src="assets/mdat-flow-c830c457-light.svg">
57
+ <source media="(prefers-color-scheme: dark)" srcset="assets/mdat-flow-5607417b-dark.svg">
58
+ <source media="(prefers-color-scheme: light)" srcset="assets/mdat-flow-5607417b-light.svg">
59
+ <img alt="tldraw diagram" src="assets/mdat-flow-5607417b-light.svg">
60
60
  </picture>
61
61
 
62
62
  <!-- /tldraw -->
@@ -695,7 +695,7 @@ See the [Examples section](../remark-mdat/readme.md#examples) of the `remark-mda
695
695
 
696
696
  - #### `<!-- tldraw -->`
697
697
 
698
- Allows embedding [tldraw](https://www.tldraw.com) files in your readme. Accepts either a path to a local `.tldr` file, or remote [tldraw](https://www.tldraw.com) URLs.
698
+ Allows embedding [tldraw](https://www.tldraw.com) files in your readme. Accepts either a path to a local `.tldr` file, or remote tldraw URLs.
699
699
 
700
700
  Automatically generates both "light" and "dark" SVG variations of the sketch, and emits a `<picture>` element per [GitHub's guidelines](https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#specifying-the-theme-an-image-is-shown-to) to present the correctly themed image based on the viewer's preferences.
701
701