-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Add asciidoc highlight test #1229
Conversation
Thank you very much for your contribution!
Interesting. It seems to be broken on GitHub as well, right?
If it really is a bug, it should be reported in the AsciiDoc sublime syntax repository (see |
Merging this as-is for now, thank you! |
Yeah, i saw that too. But to be fair, Github doesn't really have full-fledged AsciiDoctor markup, so that's pretty much expected i think. :)
I just opened an issue for this in the repository you mentioned. But it seems that the repo hasn't been updated in 5 years. There are also open PRs lying around since 3+ years, so I don't expect much to happen. It might be worth to consider another library for the asciidoc highlighting, doesn't really pressure though, should I create an issue about that here so it can be resolved in the future? P.S. I just checked how the highlighting looks in vim, and it seems that the problem doesn't exist there. But they have implemented the syntax highlighting completely themselves rather than relying on an external dependency. Their highlighting also lacks some features, but at least it doesn't break anything. 😅 |
Thanks!
oh :-/
If there is an alternative project - yes please. Otherwise, it's probably going to stay open for a long time. Another thing that we can do is to fork the upstream repository, potentially merge some of the open PRs and then change our submodule pointer to the fork. I personally don't want to maintain such a fork for AsciiDoc, but if someone wants to do that, I'd be open to retarget our submodule. |
I created the issue #1290 to make sure it's in the backlog.
There actually are already some forks that are more up-to-date, but I don't know if those are just forks meant for personal use or if they are trying to continue the project.
|
This is part of #1213. I have created the test file myself based on the AsciiDoctor Syntax Quick Reference.
I actually found a bug on the syntax highlighting with this one. The first line of the following syntax seems to break the highlighting, that's why it's commented out inside the
test.adoc
file for now, the rest of the syntax highlighting works perfectly.The first line breaks the markup but is actually considered valid markup based on the quick reference.
Should I report that on the syntect repo, as it's probably an issue over there?