-
-
Notifications
You must be signed in to change notification settings - Fork 743
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
[Feature Request] Checking Space around Embedded Code, Bold and Italic #1298
Comments
@DavidAnson Can we use micromark as the parser in customRules to simplify column calculations? markdownlint/lib/markdownlint.js Lines 58 to 66 in b2305ef
|
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. |
if ( |
@fyc09, i'm not sure what the comment above is saying, but to get back to your question from six months ago, it is now possible to write custom rules that use the micromark parser. As you say, the line/column information should be easier to work with in that form. If you have any trouble, please let me know! |
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
代码The text was updated successfully, but these errors were encountered: