{"id":13593979,"url":"https://github.com/shurcooL/markdownfmt","last_synced_at":"2025-04-09T05:32:37.148Z","repository":{"id":15548590,"uuid":"18283571","full_name":"shurcooL/markdownfmt","owner":"shurcooL","description":"Like gofmt, but for Markdown.","archived":false,"fork":false,"pushed_at":"2024-03-12T17:16:34.000Z","size":105,"stargazers_count":798,"open_issues_count":13,"forks_count":63,"subscribers_count":14,"default_branch":"main","last_synced_at":"2025-04-06T23:14:50.504Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shurcooL.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2014-03-31T06:14:07.000Z","updated_at":"2025-03-08T16:02:11.000Z","dependencies_parsed_at":"2024-04-09T21:47:48.156Z","dependency_job_id":"b0e6366f-f97e-4c8f-8760-511293524cde","html_url":"https://github.com/shurcooL/markdownfmt","commit_stats":{"total_commits":97,"total_committers":11,"mean_commits":8.818181818181818,"dds":"0.17525773195876293","last_synced_commit":"75134924a9fd3335f76a9709314c5f5cef4d6ddc"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shurcooL%2Fmarkdownfmt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shurcooL%2Fmarkdownfmt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shurcooL%2Fmarkdownfmt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shurcooL%2Fmarkdownfmt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shurcooL","download_url":"https://codeload.github.com/shurcooL/markdownfmt/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247987056,"owners_count":21028891,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T16:01:27.144Z","updated_at":"2025-04-09T05:32:36.654Z","avatar_url":"https://github.com/shurcooL.png","language":"Go","funding_links":[],"categories":["Go","HarmonyOS"],"sub_categories":["Windows Manager"],"readme":"markdownfmt\n===========\n\n[![Go Reference](https://pkg.go.dev/badge/github.com/shurcooL/markdownfmt.svg)](https://pkg.go.dev/github.com/shurcooL/markdownfmt)\n\nLike `gofmt`, but for Markdown.\n\n![Markdown Format Demo](https://github.com/shurcooL/atom-markdown-format/blob/master/Demo.gif?raw=true)\n\nNote that `markdownfmt` works with pure Markdown files. If you want to use it with Markdown files that have front matter, consider one of [alternatives](#alternatives) that supports that.\n\nInstallation\n------------\n\n```sh\ngo install github.com/shurcooL/markdownfmt@latest\n```\n\nUsage\n-----\n\n```sh\nusage: markdownfmt [flags] [path ...]\n  -d  display diffs instead of rewriting files\n  -l  list files whose formatting differs from markdownfmt's\n  -w  write result to (source) file instead of stdout\n```\n\nEditor Plugins\n--------------\n\n-\t[vim-markdownfmt](https://github.com/moorereason/vim-markdownfmt) for Vim.\n-\t[emacs-markdownfmt](https://github.com/nlamirault/emacs-markdownfmt) for Emacs.\n-\t[vscode-markdownfmt](https://marketplace.visualstudio.com/itemdetails?itemName=AnmolSinghJaggi.vscode-markdownfmt) for Visual Studio Code.\n-\tBuilt-in in Conception.\n-\t[markdown-format](https://atom.io/packages/markdown-format) for Atom (deprecated).\n-\tAdd a plugin for your favorite editor here?\n\nAlternatives\n------------\n\n-\t[`mdfmt`](https://github.com/moorereason/mdfmt) - Fork of `markdownfmt` that adds front matter support.\n-\t[`tidy-markdown`](https://github.com/slang800/tidy-markdown) - Project with similar goals, but written in JS and based on a slightly different [styleguide](https://github.com/slang800/markdown-styleguide).\n-\t[Flowmark](https://github.com/jlevy/atom-flowmark) - A JS-based Atom plugin with line wrapping, YAML frontmatter support, and other normalization features.\n\nLicense\n-------\n\n-\t[MIT License](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FshurcooL%2Fmarkdownfmt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FshurcooL%2Fmarkdownfmt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FshurcooL%2Fmarkdownfmt/lists"}