You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue consolidates reference to issues and PRs related to code blocks. Issues will be closed, PRs will be left open, if no merge conflicts exist. See #956
Pretty much. Given the issues span 5+ years I figured this was a good way to put them in one place to maybe put a checklist together to say, "We have tests in the current codebase that demonstrate this is no longer a problem." (I think the community was getting overwhelmed by the sheer number of open issues and maybe not knowing where to begin to contribute back.)
So, if you're looking to contribute, it might be pretty simple. If there's no test to measure the validity - then, it's not resolved - so, it may be as simple as writing a test, verifying it passes, then submitting the PR. If there's a test already - then we can remove it from the reference list.
@mercmobily: Shorter version. I don't know if they're resolved or not. Kinda hoping the community will help out on that score. One or two people can't do all the heavy lifting...as has been evidenced. So, I'm taking a somewhat different tack with things. :)
I'm not sure if this is helpful (and I'd be happy to delete the comment if not), but here's a base case of how marked differs from most implementations:
This has bit me a couple times and I couldn't find specific settings that would resolve it (and though babelmark is testing against 0.2.6 I'm seeing the same behavior on 0.3.9.)
Activity
mercmobily commentedon Dec 26, 2017
Josh, this means that all of these issues are still valid and unresolved, even though they are marked as "closed". Right?
joshbruce commentedon Dec 26, 2017
Pretty much. Given the issues span 5+ years I figured this was a good way to put them in one place to maybe put a checklist together to say, "We have tests in the current codebase that demonstrate this is no longer a problem." (I think the community was getting overwhelmed by the sheer number of open issues and maybe not knowing where to begin to contribute back.)
So, if you're looking to contribute, it might be pretty simple. If there's no test to measure the validity - then, it's not resolved - so, it may be as simple as writing a test, verifying it passes, then submitting the PR. If there's a test already - then we can remove it from the reference list.
Hope that makes sense.
joshbruce commentedon Dec 26, 2017
@mercmobily: Shorter version. I don't know if they're resolved or not. Kinda hoping the community will help out on that score. One or two people can't do all the heavy lifting...as has been evidenced. So, I'm taking a somewhat different tack with things. :)
jmduke commentedon Dec 26, 2017
I'm not sure if this is helpful (and I'd be happy to delete the comment if not), but here's a base case of how marked differs from most implementations:
https://johnmacfarlane.net/babelmark2/?text=%3Ch1%3ETest%3C%2Fh1%3E%0A++++++++++++%3Cp%3EShould+this+code+be+in+a+pre+block%3F%3C%2Fp%3E
This has bit me a couple times and I couldn't find specific settings that would resolve it (and though babelmark is testing against 0.2.6 I'm seeing the same behavior on 0.3.9.)
Feder1co5oave commentedon Jan 10, 2018
To do list
toward 0.4.0:
fix backticks in inline code (fixes #312) #503fix backticks in inline code (replaces #503, fixes #312) #1013 codespan bug (fixes A little puzzle about backtick quotes #759 Single backtick in inline code #312)toward 0.6.0:
hljsclass #393 Change to renderer options means highlight option no longer works #350 Don't throw an exception for unknown code block languages #810 Uncaught Error: Unknown language: "undefined" #803Possible solution: Some highlighters require class on a wrapping element to render properly #418 ?