Skip to content
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

XML comment in code block render issue. #583

Open
YttriumC opened this issue Apr 13, 2022 · 1 comment
Open

XML comment in code block render issue. #583

YttriumC opened this issue Apr 13, 2022 · 1 comment

Comments

@YttriumC
Copy link

image
When I write the XML-type comment in the code block, the preview can't display correctly.

image
Another comment type is working well.

By the way, It is suggested that the image preview can find the file in the same directory as the MD file name.
For example, I created file 'a.md' and folder 'a', and the image exists in folder 'a'. When referenced in file 'a, only the image file name(eg: a.png) is used, and the parent path(eg: ../a/a.png) is not required. It will be used when writing with hexo blog.

@wetterSpitze
Copy link

I have the same problem with # comments, but only if i use the ~~~ notation for code blocks:

SCR-20220928-d8y

SCR-20220928-da2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants