Skip to content
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

Windows Batch files support #252

Closed
XhmikosR opened this issue Mar 24, 2015 · 10 comments · Fixed by #1286
Closed

Windows Batch files support #252

XhmikosR opened this issue Mar 24, 2015 · 10 comments · Fixed by #1286

Comments

@XhmikosR
Copy link

This along with Powershell are the lexers I'm personally missing in Rouge :)

@tibel
Copy link

tibel commented Feb 2, 2016

👍

lucidbee pushed a commit to BonsaiAI/rouge that referenced this issue Mar 16, 2017
@dmetzler1988
Copy link

👍

@CapitanShinChan
Copy link

Is there any advance on this? My batch files are not getting any highlight.

I almost don't know any Ruby, but can try to help to define the lexer in pseudocode.

@mat-m
Copy link

mat-m commented Aug 8, 2018

Since Rouge is used in Gitlab, it would be very cool to have syntax highlighting for batches.

See gitlab: https://gitlab.com/jjb3/HotChocolatey/blob/master/build.bat
vs github: https://github.com/chocolatey/chocolatey/blob/master/build.bat

We can help for the definition if not on the code.

@jobec
Copy link

jobec commented Aug 23, 2018

Same here, would be great to have support for that.

@takemori-kondo
Copy link

Very cool!
I expect this feature to be merged.

@pulcov
Copy link

pulcov commented Dec 6, 2018

👍

1 similar comment
@nussetorten
Copy link

👍

@deadlydog
Copy link

You can see pygments batch lexer definition here for reference. I would love to see this added.

@pyrmont
Copy link
Contributor

pyrmont commented Jun 2, 2019

@deadlydog Thanks for the link to the Pygments batcher; that should be helpful. At this stage, we're mostly doing our best to clear through the backlog of PRs that had built up over the past few months but I'd like to eventually start looking at some of the more popular lexer requests.

In the meantime, we have a new lexer development guide that might be helpful for users looking to add a lexer themselves. That's always most welcome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.