hongdown 0.2.0-dev.79 → 0.2.0-dev.80

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 +12 -0
  2. package/package.json +7 -7
package/README.md CHANGED
@@ -359,6 +359,18 @@ Behavior:
359
359
  preserved and a warning is emitted
360
360
  - External formatters are only available in CLI mode (not in WASM)
361
361
 
362
+ To skip formatting for a specific code block, add `hongdown-no-format` after the
363
+ language identifier:
364
+
365
+ ~~~~~ markdown
366
+ ~~~~ python hongdown-no-format
367
+ def hello(): print("Hello, World!")
368
+ ~~~~
369
+ ~~~~~
370
+
371
+ The `hongdown-no-format` keyword is preserved in the output, ensuring the code
372
+ block remains unformatted on subsequent runs.
373
+
362
374
  For WASM builds, use the `formatWithCodeFormatter` function with a callback:
363
375
 
364
376
  ~~~~ typescript
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hongdown",
3
- "version": "0.2.0-dev.79+700a8ad3",
3
+ "version": "0.2.0-dev.80+88000c0d",
4
4
  "type": "module",
5
5
  "description": "A Markdown formatter that enforces Hong Minhee's Markdown style conventions",
6
6
  "license": "GPL-3.0-or-later",
@@ -27,11 +27,11 @@
27
27
  "node": "\u003e=18"
28
28
  },
29
29
  "optionalDependencies": {
30
- "@hongdown/darwin-arm64": "0.2.0-dev.79+700a8ad3",
31
- "@hongdown/darwin-x64": "0.2.0-dev.79+700a8ad3",
32
- "@hongdown/linux-arm64": "0.2.0-dev.79+700a8ad3",
33
- "@hongdown/linux-x64": "0.2.0-dev.79+700a8ad3",
34
- "@hongdown/win32-arm64": "0.2.0-dev.79+700a8ad3",
35
- "@hongdown/win32-x64": "0.2.0-dev.79+700a8ad3"
30
+ "@hongdown/darwin-arm64": "0.2.0-dev.80+88000c0d",
31
+ "@hongdown/darwin-x64": "0.2.0-dev.80+88000c0d",
32
+ "@hongdown/linux-arm64": "0.2.0-dev.80+88000c0d",
33
+ "@hongdown/linux-x64": "0.2.0-dev.80+88000c0d",
34
+ "@hongdown/win32-arm64": "0.2.0-dev.80+88000c0d",
35
+ "@hongdown/win32-x64": "0.2.0-dev.80+88000c0d"
36
36
  }
37
37
  }