hongdown 0.1.0-dev.39 → 0.1.0-dev.41

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 +7 -5
  2. package/package.json +7 -7
package/README.md CHANGED
@@ -35,7 +35,7 @@ npm install -g hongdown
35
35
  ### mise
36
36
 
37
37
  ~~~~ bash
38
- mise use github:dahlia/hongdown
38
+ mise use -g github:dahlia/hongdown
39
39
  ~~~~
40
40
 
41
41
  ### Cargo
@@ -76,9 +76,11 @@ hongdown -c input.md
76
76
  hongdown --diff input.md
77
77
  hongdown -d input.md
78
78
 
79
- # Read from stdin
80
- echo "# Hello" | hongdown
79
+ # Read from stdin (use --stdin flag or - as filename)
80
+ echo "# Hello" | hongdown --stdin
81
+ echo "# Hello" | hongdown -
81
82
  hongdown --stdin < input.md
83
+ hongdown - < input.md
82
84
 
83
85
  # Custom line width
84
86
  hongdown --line-width 100 input.md
@@ -159,8 +161,8 @@ space_after_fence = true # Space between fence and language (default: true)
159
161
  default_language = "" # Default language for code blocks (default: "")
160
162
 
161
163
  [thematic_break]
162
- style = "* * * * *" # Thematic break style (default: "* * * * *")
163
- leading_spaces = 2 # Leading spaces (0-3, default: 2)
164
+ style = "- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -"
165
+ leading_spaces = 3 # Leading spaces (0-3, default: 3)
164
166
  ~~~~
165
167
 
166
168
  When `include` patterns are configured, you can run Hongdown without
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hongdown",
3
- "version": "0.1.0-dev.39+e362761a",
3
+ "version": "0.1.0-dev.41+bf2f57d0",
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.1.0-dev.39+e362761a",
31
- "@hongdown/darwin-x64": "0.1.0-dev.39+e362761a",
32
- "@hongdown/linux-arm64": "0.1.0-dev.39+e362761a",
33
- "@hongdown/linux-x64": "0.1.0-dev.39+e362761a",
34
- "@hongdown/win32-arm64": "0.1.0-dev.39+e362761a",
35
- "@hongdown/win32-x64": "0.1.0-dev.39+e362761a"
30
+ "@hongdown/darwin-arm64": "0.1.0-dev.41+bf2f57d0",
31
+ "@hongdown/darwin-x64": "0.1.0-dev.41+bf2f57d0",
32
+ "@hongdown/linux-arm64": "0.1.0-dev.41+bf2f57d0",
33
+ "@hongdown/linux-x64": "0.1.0-dev.41+bf2f57d0",
34
+ "@hongdown/win32-arm64": "0.1.0-dev.41+bf2f57d0",
35
+ "@hongdown/win32-x64": "0.1.0-dev.41+bf2f57d0"
36
36
  }
37
37
  }