Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/vegeta897/discord-syntax-test
- Owner: vegeta897
- License: mit
- Created: 2019-03-10T14:18:38.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-03-12T09:05:47.000Z (almost 6 years ago)
- Last Synced: 2024-11-04T02:22:18.354Z (3 months ago)
- Topics: bot, discord, syntax-highlighting, testing, utility
- Language: JavaScript
- Size: 9.77 KB
- Stars: 2
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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*