Skip to content

Instantly share code, notes, and snippets.

@WolfangAukang
Created January 2, 2024 15:57
Show Gist options
  • Save WolfangAukang/928df2c63f7d2329a257955160b0bd28 to your computer and use it in GitHub Desktop.
Save WolfangAukang/928df2c63f7d2329a257955160b0bd28 to your computer and use it in GitHub Desktop.
{
"json": {
},
"markdown": {
"lineWidth":120,
},
"excludes": [
],
"plugins": [
"https://plugins.dprint.dev/markdown-0.16.3.wasm"
]
}

This is basically what is stated here. Remember to store the helix settings to a .helix/ directory and the dprint settings to the root.

[[language]]
name = "markdown"
auto-format = true
formatter = { command = "dprint", args = ["fmt", "--stdin", "md"]}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment