20 lines
437 B
Python
20 lines
437 B
Python
|
|
||
|
_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()
|