Open ruleset opened 4 months ago
@ruleset
You can use MarkdownPaste.turndownOptions
in vscode setting like this.
"MarkdownPaste.turndownOptions": {
"headingStyle": "atx",
"bulletListMarker": "-",
"strongDelimiter": "**",
"emDelimiter": "*",
"preformattedCode": "true",
"hr": "\n\n* * * *\n\n"
}
is there a way to cause Markdown Paste to always use
atx
style headings? maybe there is a rule regex? or a toggle?thanks!
when I paste formatted html using markdown paste, I get
setext
style for the first two levels.The desired paste result would use ATX style headings.
https://www.markdownguide.org/basic-syntax/#headings
I searched for vscode configurations, lint correctors, etc.
Hash-style headings would be consistent and avoid lint messages such as the following.
MD003/heading-style: Heading style [Expected: atx; Actual: setext]markdownlint[MD003]