-
|
I'm running a fork of Speckit. To keep the fork clean and merges from upstream easy, I'd like to synchronize the markdown file formatting so it's not picking up a bunch of tabs or converting dashes to asterisks. Anyone have some pointers here? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
No automatic formatter is setup. But we do have a linter setup. |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for the response @mnriem ! The closest approximation I was able to get to mimicking your markdown output was using the extension markdownlint with the following config: {
// https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md
"config": {
"default": true,
"MD003": {
"style": "atx"
},
"MD007": {
"indent": 2
},
"MD013": false,
"MD024": {
"siblings_only": true
},
"MD031": false,
"MD032": false,
"MD033": false,
"MD041": false,
"MD049": {
"style": "asterisk"
},
"MD050": {
"style": "asterisk"
},
"MD036": false,
"MD060": false
},
"ignores": [
".genreleases/"
]
} |
Beta Was this translation helpful? Give feedback.
Thanks for the response @mnriem !
The closest approximation I was able to get to mimicking your markdown output was using the extension markdownlint with the following config:
{ // https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md "config": { "default": true, "MD003": { "style": "atx" }, "MD007": { "indent": 2 }, "MD013": false, "MD024": { "siblings_only": true }, "MD031": false, "MD032": false, "MD033": false, "MD041": false, "MD049": { "style": "asterisk" }, "MD050": { "style": "asterisk" }, "MD036": false, "MD060": false }, "ignores": [ ".genreleases/" ] }