-
-
Notifications
You must be signed in to change notification settings - Fork 426
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
Cannot read property 'highlight' of undefined - when using an indented code block #179
Comments
Please let me know if the landing place of the bug is correct or not. |
My guess is that the problem lies in the /src/utils/markedRenderer.js file since it overrides marked's renderer. |
which version are you using? it is supposed to be fixed in 4.0.7 |
@egoist I use the one from the example HTML ( On the other hand
so I will be better off using an installed version (which leaves the question of the CSS open but it is another problem) |
This bug was initially submitted with marked.js (markedjs/marked#1348) but it seems the problem is finally with Docute. Please also see the comment at markedjs/marked#1348 (comment)
Description
Using the example HTML file with a specific README.md, the site is not rendered and the console mentions
Reproduction
Expose the following two files via a web server (
devd
in my case), the HTML file is the first example given in Docute.The error is on the block containing code
index.html
README.md
(please take the source code, as the version below is rendered by GitHub and i do not know how to make it raw (non-rendered) data)--- snip ---
text
text
--- snip ---
The text was updated successfully, but these errors were encountered: