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
(csharp) highlight fail: in
and out
as generic variable modifier
#2239
Comments
in
and out
as generic variable modifierin
and out
as generic variable modifier
jsfiddle please. Having a fiddle makes it easier to track these issues if they remain open a while and also allows developers to see them visually and fix them faster. You can fork my template: |
this is the reproduction: |
in
and out
as generic variable modifierin
and out
as generic variable modifier
I wonder if we even try to pattern match the |
maybe the highlightjs should split into two parts: tokenizer and render. people contribute their tokenizer will be easier. |
If all you want is the CSS, it's pretty easy to build the tokenizer -> html side and then just use our stylesheets. We're talking about stuff like that, but I'd rather see our parser get more powerful than people write their own parser for every language, that would be a bore. |
in
and out
as generic variable modifierin
and out
as generic variable modifier
I'm not sure for most people contributing a lexer would be simpler than contributing a list of regex patterns to match... Do you have a full JS tokenizer/lexer for C# though? If so I'd be interested in exploring how someone MIGHT integrate such a thing as a plugin. But my original point stands that if one has a parse tree already just turning it into HTML is the EASY part... you could simply wrap Highlight.js fairly easily. (though you don't need it at all at that point, just the CSS files) |
What else are " generic variable modifier"s supported on other than interfaces? Are in and out the only modifiers? |
this is the jsfiddle:
in
andout
should be keywords.The text was updated successfully, but these errors were encountered: