telegram-mathbot/mathbot/static.py

20 lines
437 B
Python
Raw Normal View History

2018-01-18 08:09:39 +00:00
_help_text = '''
**RMathBot** -- render LaTeX math commands
Usage:
- `/help` print this help message and exit
- `/rmath LATEX` render __LATEX__ and return the resulting PNG with the input text
- `/rcmath <CAPTION> LATEX` render __LATEX__ and return the resulting PNG with the input text
and caption __CAPTION__
'''
class StaticContent(object):
def __init__(self):
self.help_text = _help_text
static_content = StaticContent()