monero-docs/main.py

10 lines
199 B
Python
Raw Normal View History

2024-09-19 21:02:58 +00:00
def define_env(env):
"""
This is the hook for the variables, macros and filters.
"""
@env.macro
def multiply(arg1, arg2):
"Multiply 2 numbers"
return arg1 * arg2