Jump to content

Bash/CMD option in Code tag

Lehti

I think it'd be handy if the Code tag allowed to select Bash and CMD as a dialect. Does anyone agree?

Link to comment
Share on other sites

Link to post
Share on other sites

1 minute ago, Lehti said:

I think it'd be handy if the Code tag allowed to select Bash and CMD as a dialect. Does anyone agree?

Yeah

i like trains 馃檪

Link to comment
Share on other sites

Link to post
Share on other sites

Unfortunately, bash/batch aren't supported by the syntax highlighting plugin (codemirror and google prettify would both need to support it), so it's not possible.

HTTP/2 203

Link to comment
Share on other sites

Link to post
Share on other sites

47 minutes ago, colonel_mortis said:

Unfortunately, bash/batch aren't supported by the syntax highlighting plugin (codemirror and google prettify would both need to support it), so it's not possible.

Wouldn't it be possible to modify it?

Link to comment
Share on other sites

Link to post
Share on other sites

18 hours ago, Lehti said:

Wouldn't it be possible to modify it?

Not really - aside from the fact that languages like those are hard to define, because lots of words have special meaning sometimes, depending on what you have installed, it is also difficult to ensure that the changes don't get overwritten by regular software updates, which is part of the reason that the number of supported languages is currently very limited.聽

Edited by colonel_mortis
Autocorrect isn't very effective...

HTTP/2 203

Link to comment
Share on other sites

Link to post
Share on other sites

That's too bad. It would've been a useful addition. Thanks anyway :)

Link to comment
Share on other sites

Link to post
Share on other sites

On 13-10-2016 at 0:52 AM, Lehti said:

Wouldn't it be possible to modify it?

even notepad++ has difficulty making sense of batch (cmd) at times, tells something about the language doesnt it?

while i guess bash (linux) is a bit better, it is still not the kind of language where color is a necessity.

Link to comment
Share on other sites

Link to post
Share on other sites

On 14/10/2016 at 5:54 PM, manikyath said:

even notepad++ has difficulty making sense of batch (cmd) at times, tells something about the language doesnt it?

while i guess bash (linux) is a bit better, it is still not the kind of language where color is a necessity.

I know, it would just be nice to have :)

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now