Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Format markdown with markdown formatter #128

Open
sheiun opened this issue Nov 13, 2019 · 1 comment
Open

Format markdown with markdown formatter #128

sheiun opened this issue Nov 13, 2019 · 1 comment
Labels

Comments

@sheiun
Copy link

sheiun commented Nov 13, 2019

Is your feature request related to a problem? Please describe.
No relate to any problem.
In some editor we can use markdown formatter (like prettier) to format markdown documents.

Describe the solution you'd like
Integrate with prettier or another markdown formatter.

Describe alternatives you've considered
Copy content to local editor or online formatter to format documents and paste it back.

Additional context
Before
image
After
image

@Yukaii
Copy link
Member

Yukaii commented Jan 22, 2021

In CodiMD we used markdownlint for linting Markdown document.

The same package introduce vscode-extension with autofix functionaility. We might port this to HackMD & CodiMD

https://github.com/DavidAnson/vscode-markdownlint/blob/b596db721a7519bf87235d964c48c45f1078fab5/extension.js#L529-L551

https://github.com/DavidAnson/markdownlint/blob/main/helpers/README.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants