Open fyc09 opened 1 month ago
@DavidAnson Can we use micromark as the parser in customRules to simplify column calculations? https://github.com/DavidAnson/markdownlint/blob/b2305efafb034b1f328845aec9928b5363ffd646/lib/markdownlint.js#L58-L66
Not yet. I want to convert the remaining core rules to micromark first, then review the API. Custom rules can still use markdown-it and the "helpers" package, but I am slowly removing things from that as I migrate, so feel free to use or copy from earlier versions.
Adding spaces around embedded code, bold, and italics is common practice to prevent unexpected rendering errors and make words recognizable. While Chinese can be recognized without spaces, adding spaces can enhance clarity and readability.
Correct:
some important point some
inline
code 一些 重要 的信息 一些inline
代码Incorrect:
someimportantpoint some
inline
code 一些重要的信息 一些inline
代码