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

Can we select the language for syntax highlighting via the CLI? #76

Open
davidalsh-rokt-zz opened this issue Nov 12, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@davidalsh-rokt-zz
Copy link

Is your feature request related to a problem? Please describe.
Can we add a way to select the language to apply syntax highlighting to?

Describe the solution you'd like
Perhaps a simple method of running the command like

ox --lang sh ~/.zshrc

Describe alternatives you've considered
Using the configuration

ox --config ~/.zshrc_ox.ron ~/.zshrc

But I couldn't find the configuration schema and also it can get a little annoying if there is a config for every extension

@curlpipe
Copy link
Owner

curlpipe commented Nov 13, 2020

Brilliant idea :)

@curlpipe curlpipe added the enhancement New feature or request label Nov 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants