markdown_yo 0.0.5 → 0.0.10

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 CHANGED
@@ -166,12 +166,12 @@ Requires the [Yo compiler](https://github.com/shd101wyy/Yo) and [Emscripten](htt
166
166
 
167
167
  ```bash
168
168
  # Install Yo compiler
169
- npm install -g @shd101wyy/yo
169
+ curl -sSL https://shd101wyy.github.io/Yo/install.sh | sh
170
170
 
171
171
  # Build the WASM API target
172
172
  yo build wasm_api
173
173
 
174
174
  # Output files:
175
- # yo-out/wasm32-emscripten/bin/markdown_yo_wasm_api.js
176
- # yo-out/wasm32-emscripten/bin/markdown_yo_wasm_api.wasm
175
+ # yo-out/wasm32-unknown-emscripten/bin/markdown_yo_wasm_api.js
176
+ # yo-out/wasm32-unknown-emscripten/bin/markdown_yo_wasm_api.wasm
177
177
  ```
package/index.d.ts CHANGED
@@ -26,7 +26,7 @@ export interface RenderOptions {
26
26
  abbr?: boolean;
27
27
  /** Enable definition lists (Term + : Definition) (default: false) */
28
28
  deflist?: boolean;
29
- /** Enable admonition blocks (!!! type title) (default: false) */
29
+ /** Enable admonition blocks (!!! type / ??? type / ???+ type) (default: false) */
30
30
  admonition?: boolean;
31
31
  /** Enable callout blocks (> [!type] title) (default: false) */
32
32
  callout?: boolean;
package/index.js CHANGED
@@ -30,7 +30,7 @@ const createMarkdownYo =
30
30
  * @property {boolean} [critic=false] - Enable critic markup ({++add++}, {--del--}, etc.)
31
31
  * @property {boolean} [abbr=false] - Enable abbreviations (*[abbr]: expansion)
32
32
  * @property {boolean} [deflist=false] - Enable definition lists (Term + : Definition)
33
- * @property {boolean} [admonition=false] - Enable admonition blocks (!!! type title)
33
+ * @property {boolean} [admonition=false] - Enable admonition blocks (!!! type / ??? type / ???+ type)
34
34
  * @property {boolean} [callout=false] - Enable callout blocks (> [!type] title)
35
35
  * @property {boolean} [footnote=false] - Enable footnotes ([^id] refs and ^[inline])
36
36
  * @property {boolean} [sourceMap=false] - Emit data-source-line attributes on block elements
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "markdown_yo",
3
- "version": "0.0.5",
3
+ "version": "0.0.10",
4
4
  "description": "A high-performance Markdown-to-HTML converter compiled to WebAssembly",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",