Go to the source code of this file.
Namespaces | |
equations | |
Functions | |
def | equations.clean (s) |
Variables | |
equations.doc_folder = Path('doc') | |
equations.EQ_PATTERN = re.compile(r'!eq\[([^\]]+)\]') | |
equations.equation = m.group(1) | |
list | equations.existing_gifs = [p for p in doc_folder.iterdir() if p.suffix == '.gif'] |
equations.gifs_to_remove = set(existing_gifs) | |
equations.img = requests.get(url) | |
equations.img_filename = doc_folder/(clean(equation) + '.gif') | |
equations.m = EQ_PATTERN.search(s) | |
equations.s = f.read() | |
list | equations.src_files = [p for p in doc_folder.iterdir() if p.suffix == '.md'] |
string | equations.url = 'http://latex.codecogs.com/gif.download?' |