markdown_yo 0.0.4 → 0.0.9
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/index.d.ts +1 -1
- package/index.js +1 -1
- package/markdown_yo_wasm_api.wasm +0 -0
- package/package.json +1 -1
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
|
-
|
|
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
|
|
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
|
|
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
|