Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/vegeta897/discord-syntax-test

Automated testing of all syntax highlighting languages for code blocks
https://github.com/vegeta897/discord-syntax-test

bot discord syntax-highlighting testing utility

Last synced: about 1 month ago
JSON representation

Automated testing of all syntax highlighting languages for code blocks

Awesome Lists containing this project

README

        

# discord-syntax-test
Automated testing of all syntax highlighting languages for code blocks in Discord

## Install

```bash
git clone https://github.com/vegeta897/discord-syntax-test.git
cd discord-syntax-test
npm install
```

Set `TOKEN` env variable, or create a `.env` file with `TOKEN="your_token"`

Finally `npm start`

## Usage

`!syntax_test` - Test all languages (takes a while)
`!syntax_stop` - Abort a test in progress
`!syntax_test js` - Test a specific language
`!syntax_list` - List all available languages

## Credits

Powered by [Eris](https://abal.moe/Eris/) and [highlight.js](https://highlightjs.org)

Original language list compiled by [Cadence](https://cadence.moe/pastes/143)

Inspired by Mimee

---

*Hello Mr. Pool*