{# === KATEX ===#} {% macro katex() %} {% endmacro katex %} {# === resize static image === #} {% macro resize_static(path, width=160, height=160, op="fit_height") %} {{ resize_image(path="../static" ~ path, width=width, height=height, op=op) }} {% endmacro resize_static %}