2025 08 03 Markdown
Finally I have set up my markdown properly.
It starts with Helix: Setup for Markdown. It involves installing dprint. Although it mentions only helix, I have created similar configurations for zed as well.
Below are the configurations files for the respective editors.
languages.toml
for helix:
[[language]]
name = "go"
auto-format = true
formatter = { command = "goimports" }
[[language]]
name = "rust"
auto-format = true
[[language]]
name = "c"
auto-format = true
[[language]]
name = "markdown"
auto-format = true
formatter = {command = "dprint", args = ["fmt", "--stdin", "md"]}
settings.json
for zed: