Syntax Highlighter Bot
The bot for creating an image with highlighted code from a message. The bot listens for entities type of `pre` in any text message. It means, it will render all pieces of text, wrapped in triple backticks (multiline code). Also you could force the language, writing its name on the first line, right after backticks. Just like on the GitHub. This bot was written on top of the Telegraf.js bot framework. - `/start` - Initial launch of the bot. - `/theme` - Shows the list of included themes and allows you to select a theme which you like more. - `/langs` - Shows the list of supported languages.
1
0
You need to like or dislike this entry before submitting a review.