We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8d33860 + 18d16f9 commit 6b8919fCopy full SHA for 6b8919f
render_engine_parser/base_parsers.py
@@ -48,14 +48,17 @@ def parse_content(content: str) -> tuple[dict, str]:
48
return parse_content(content)
49
50
@staticmethod
51
- def parse(content: str, page=None):
+ def parse(
52
+ content: str,
53
+ extras: dict[str, any] | None = None,
54
+ ) -> str:
55
"""
56
Parses content to be rendered into HTML
57
58
In the base parser, this returns the content as is.
59
60
params:
61
content: content to be rendered into HTML
- page: Render Engine Page Content object to gain access to attributes
62
+ extras: dictionary with extras to augment attributes
63
64
return content
0 commit comments