carbon-app / carbon

:black_heart: Create and share beautiful images of your source code

Home Page:https://carbon.now.sh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add support for `AutoIt` language

sugatoray opened this issue · comments

GitHub already supports AutoIt language. Please add support for AutoIt on CarbonNow.

The following code block renders color formatted AutoIt code using GitHub flavored markdown.

Local $sOutMsg = "Hello World!"
ConsoleWrite($sOutMsg & @CRLF)

What change is necessary?

Add the following to carbon/lib/constants.js here:

export const LANGUAGES = [

export const LANGUAGES = [
  // ...
  {
    name: 'AutoIt',
    mode: 'autoit',
    short: 'au3',
    highlight: true,
  },
  // ...
]