We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d240591 commit a2c2b62Copy full SHA for a2c2b62
1 file changed
examples/custom_processing/bake.py
@@ -28,6 +28,9 @@ def process_document(document: Document) -> None:
28
# Note: This is for demonstration. Could use the wordwrap filter in template.
29
wrapped_alt_text = wordwrap(data["alt"], max_chars=60)
30
31
+ # Log a message to show during document processing
32
+ document.log_info("Setting XKCD data for template context 🙂")
33
+
34
# Update config/template context with XKCD info
35
document.config.xkcd = {
36
"title": data["title"],
0 commit comments