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

Any plans to support syntax highlighting for emacs org-mode file? #36

Closed
nasyxx opened this issue May 1, 2018 · 11 comments · Fixed by #575
Closed

Any plans to support syntax highlighting for emacs org-mode file? #36

nasyxx opened this issue May 1, 2018 · 11 comments · Fixed by #575

Comments

@nasyxx
Copy link

nasyxx commented May 1, 2018

Hi, do you have any plans to support syntax highlighting for emacs org-mode file, which is also a markup language?

org-mode: https://orgmode.org

An example:

@sharkdp sharkdp added invalid This doesn't seem right syntax-request labels May 2, 2018
@sharkdp
Copy link
Owner

sharkdp commented May 2, 2018

Sounds good!

Could you please point me to a Sublime Text syntax definition and an example orgmode file?

@sharkdp sharkdp added good first issue Good for newcomers and removed invalid This doesn't seem right labels May 2, 2018
@nasyxx
Copy link
Author

nasyxx commented May 2, 2018

Although I am not using sublime text, I tried searching and found one. Do not know if this is satisfied.

https://github.com/danielmagnussons/orgmode

@sharkdp
Copy link
Owner

sharkdp commented May 6, 2018

Unfortunately, we will need a .sublime-syntax file if we want to support this.

@sharkdp
Copy link
Owner

sharkdp commented May 10, 2018

I am going to close this for now, as there does not seem to be a huge need for this (and we have customization options, see README). Feel free to comment here if you want me to reopen this.

@bricewge
Copy link
Contributor

bricewge commented May 25, 2019

I have found a .sublime-syntax for org-mode at https://github.com/dim-an/Zorgmode. Using it with bat it doesn't seems to colorize much, I only get source code highlighted...

@bricewge
Copy link
Contributor

I wasn't able to convert https://github.com/danielmagnussons/orgmode with sublime, it never produced a file. Fortunately it worked with https://github.com/jezcope/Org.tmbundle, the colorization seems enough to me. You can find the converted .sublime-syntax file here.

@sharkdp sharkdp reopened this May 28, 2019
@sharkdp
Copy link
Owner

sharkdp commented May 28, 2019

Thank you for looking into this. Happy to add this to bat if somebody wants to work on this.

bricewge added a commit to bricewge/bat that referenced this issue May 29, 2019
bricewge added a commit to bricewge/bat that referenced this issue May 29, 2019
sharkdp pushed a commit that referenced this issue May 29, 2019
@PicoSushi
Copy link
Contributor

Is Org highlighting working for now?

I opened some file with .org extension but not worked, and I tried bat --list-languages and Org not found.

$ bat --version
bat 0.11.0

@bricewge
Copy link
Contributor

No release contains the PR yet: v0.11.0...master.

@sharkdp
Copy link
Owner

sharkdp commented Aug 31, 2019

No release contains the PR yet: v0.11.0...master.

Exactly. I hope I can put out a new release soon.

@sharkdp
Copy link
Owner

sharkdp commented Aug 31, 2019

Released in bat v0.12.

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

Successfully merging a pull request may close this issue.

4 participants