Skip to content

馃摎 DOCS: Document renderer constructor differences - #421

Open
user01010111 wants to merge 1 commit into
executablebooks:masterfrom
user01010111:docs/renderer-constructor
Open

馃摎 DOCS: Document renderer constructor differences#421
user01010111 wants to merge 1 commit into
executablebooks:masterfrom
user01010111:docs/renderer-constructor

Conversation

@user01010111

Copy link
Copy Markdown

Document that MarkdownIt passes itself to renderer_cls, unlike the argument-free JavaScript renderer constructor. Clarify the custom constructor contract and that RendererHTML accepts but ignores an optional parser argument.

Closes #127.

Validation: 981 tests passed; all pre-commit checks passed; strict docs build passed on Python 3.10 with Sphinx 8.1.3. Sphinx 9 fails in the unchanged API-doc configuration on both upstream and this branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Document renderer class init difference in port.yaml

1 participant