-
-
Notifications
You must be signed in to change notification settings - Fork 93
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
Bold rendering issues #263
Comments
exist. I think this issue is related to source**test(zh_parentheses)**:en_colon
**test(zh_parentheses)**:zh_colon
**test(en_parentheses)**:en_colon
**test(en_parentheses)**:zh_colon
**test(en_parentheses with space after)** :zh_colon
**test(en_parentheses):**zh_colon inside marked online demomarked v4.3.0 (current version, same as hexo-renderer-marked output) marked v5.0.4 (same as markedv9, github-markdown's and commonMark's output) |
Hello, developer. I have attempted to reproduce the issue, and it still persists. Initially, I thought it might be due to the theme or a misconfiguration in my custom CSS. I am using the Fluid theme. Therefore, I set up a completely new blog using the default landscape theme, but the issue remains the same. Hence, I suspect it is a problem with the rendering of the plugin. I have provided two demo URLs to replicate the issue (both contain the same content, but I'm not sure if you can access them from your location, so I'm providing two options). You can take a look at the demos, and if you cannot access them, please refer to the accompanying images: I have also attached corresponding screenshots: Test text:
If there is a space between the asterisk (*) and the colon (:), the content will be rendered properly. However, if there is no space, it will not be rendered correctly. I have tested the text you provided again and it seems there are no issues. The problem might be caused by the presence of Chinese characters within the bolded text. Here is a list of all the packages and plugins I am using: "hexo": "^7.0.0-rc2" |
If we consider the output from the new version (after v5.0.4) of marked to be correct, then the pull request #280 can fix this issue. |
English parentheses linking asterisks cannot be rendered correctly in bold
For example: reps (Endpoint): xxxx
Chinese parentheses can be rendered in bold
For example: reps (Endpoint): xxxx
The text was updated successfully, but these errors were encountered: