-
Notifications
You must be signed in to change notification settings - Fork 4
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
Documentation for ranges is displayed wrongly #623
Comments
Thanks for reporting but this is how this renders for me on Chrome on MacOS: So it looks like this might be specific to your environment. Any chance you can try and check in a different browser to see if it's any different? Note that this site is generated using a stock standard asciidoctor template (even if the version of asciidoctor has not been updated for a while) and prettify as the source highlighter - I would expect this to affect many documents if there was a problem with this basic setup. |
It seems prettify is no longer maintained and it does not actually support Groovy but works relatively fine by using some other grammer. It is not listed as supported language nor by language supported with extension and the request to add Groovy in googlearchive/code-prettify#1 was closed as wont-fix and the same in googlearchive/code-prettify#586 was just ignored. |
It seems both builtin alternatives CodeRay and highlight.js have support for Groovy, though in CodeRay it is in beta state. |
In the Spock docs we actually use coderay |
Thanks for looking into this, Björn, I will take a stab at some point at switching it over to coderay if that's what Spock's docs are using and they do not suffer from the issue. |
Does this look any better for you now, @Vampire? I switched to coderay. The only downside I've noticed is that the name of |
Thanks for reporting it to coderay! |
An image says more than a thousand words, so here you are:
So the dots are there, but the first is attributed to the number and is not shown as there are no digits after the dot or something like that. If I add a number after the
lit
dot it becomes displayed, if I move the dot where it belongs into thepun
block it is also displayed.The text was updated successfully, but these errors were encountered: