hongdown 0.2.0-dev.63 → 0.2.0-dev.66

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 +27 -1
  2. package/package.json +7 -7
package/README.md CHANGED
@@ -6,7 +6,7 @@ Hongdown
6
6
  [![GitHub Actions][GitHub Actions badge]][GitHub Actions]
7
7
 
8
8
  Hongdown is a Markdown formatter that enforces [Hong Minhee's Markdown
9
- style](./STYLE.md) conventions. The formatter is implemented in Rust using
9
+ style conventions](./STYLE.md). The formatter is implemented in Rust using
10
10
  the [Comrak] library for parsing. It produces consistently formatted Markdown
11
11
  output following a distinctive style used across multiple projects including
12
12
  [Fedify], [LogTape], and [Optique].
@@ -277,6 +277,32 @@ See *[STYLE.md](./STYLE.md)* for the complete style specification, including
277
277
  the philosophy behind these conventions and detailed formatting rules.
278
278
 
279
279
 
280
+ Editor integrations
281
+ -------------------
282
+
283
+ ### Zed
284
+
285
+ Add the following to your Zed settings to use Hongdown as the Markdown
286
+ formatter (contributed by [Lee Dogeon][moreal zed]):
287
+
288
+ ~~~~ json
289
+ {
290
+ "languages": {
291
+ "Markdown": {
292
+ "formatter": {
293
+ "external": {
294
+ "command": "hongdown",
295
+ "arguments": ["-"]
296
+ }
297
+ }
298
+ }
299
+ }
300
+ }
301
+ ~~~~
302
+
303
+ [moreal zed]: https://hackers.pub/@moreal/019bb141-dc94-7103-ab3d-779941125430
304
+
305
+
280
306
  Library usage
281
307
  -------------
282
308
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hongdown",
3
- "version": "0.2.0-dev.63+d0d5beee",
3
+ "version": "0.2.0-dev.66+f2cdf12e",
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.63+d0d5beee",
31
- "@hongdown/darwin-x64": "0.2.0-dev.63+d0d5beee",
32
- "@hongdown/linux-arm64": "0.2.0-dev.63+d0d5beee",
33
- "@hongdown/linux-x64": "0.2.0-dev.63+d0d5beee",
34
- "@hongdown/win32-arm64": "0.2.0-dev.63+d0d5beee",
35
- "@hongdown/win32-x64": "0.2.0-dev.63+d0d5beee"
30
+ "@hongdown/darwin-arm64": "0.2.0-dev.66+f2cdf12e",
31
+ "@hongdown/darwin-x64": "0.2.0-dev.66+f2cdf12e",
32
+ "@hongdown/linux-arm64": "0.2.0-dev.66+f2cdf12e",
33
+ "@hongdown/linux-x64": "0.2.0-dev.66+f2cdf12e",
34
+ "@hongdown/win32-arm64": "0.2.0-dev.66+f2cdf12e",
35
+ "@hongdown/win32-x64": "0.2.0-dev.66+f2cdf12e"
36
36
  }
37
37
  }