Page MenuHomePhabricator

add 'batch' syntax highlight on paste
Closed, InvalidPublic

Description

It seems has 'bash' script highlight. but there is no 'batch' script (.bat or .cmd) highlight.

It's unfair. : P

Event Timeline

epriestley claimed this task.
epriestley added a subscriber: epriestley.

You can change the defaults available in the dropdown with pygments.dropdown-choices in Config.

bat and cmd are both supported, and will highlight if you leave the dropdown set to "Automatic" and name the paste .bat or .cmd.

@echo off
for /L %%i in (1,1,10) do (
  echo A
  ping -n 2 127.0.0.1 >nul & REM wait
)
epriestley removed the point value for this task.Feb 11 2016, 12:49 AM