summaryrefslogtreecommitdiff
path: root/headinginjector.py
diff options
context:
space:
mode:
authorBotond Hende <nettingman@gmail.com>2024-07-15 23:44:45 +0200
committerBotond Hende <nettingman@gmail.com>2024-07-15 23:59:14 +0200
commit76de6af40b80575019425607b3a9c2e126aaa332 (patch)
treec537b71cdabf1e11df6b6471bc4e8c90a1a57a9c /headinginjector.py
parentd0a873b8be0d6dd19f1c424782789b27a3649c45 (diff)
added documents for extensions
Diffstat (limited to 'headinginjector.py')
-rw-r--r--headinginjector.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/headinginjector.py b/headinginjector.py
index 50ef606..cb1b5ca 100644
--- a/headinginjector.py
+++ b/headinginjector.py
@@ -1,3 +1,9 @@
+"""
+Prefixes headers with the specified string.
+
+Usage:
+MyExtension = get_heading_injector(prefix)
+"""
import marko.block
from marko.helpers import MarkoExtension