ox icon indicating copy to clipboard operation
ox copied to clipboard

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

Open davidalsh-rokt-zz opened this issue 4 years ago • 1 comments

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

davidalsh-rokt-zz avatar Nov 12 '20 23:11 davidalsh-rokt-zz

Brilliant idea :)

curlpipe avatar Nov 13 '20 09:11 curlpipe