We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A feature enhancement suggestion:
When changing or extending the markdown syntax with the help of alter_syntax, one might need parse_blocks in addition to the syntax parameter.
alter_syntax
parse_blocks
syntax
A simple change in a line does it:
syntax = options.alter_syntax(syntax, parse_blocks)
Although it's easy to pass writer to the new parser, one might even go further with the following, for convenience:
writer
syntax = options.alter_syntax(syntax, parse_blocks, writer)
I've successfully used this second version in a personal project.
However, I don't have the "whole picture" like you people, so don't know if the above would break something somewhere I haven't looked.
The text was updated successfully, but these errors were encountered:
I second this, having parse_blocks and parse_inlines as additional parameters would be very helpful.
parse_inlines
Sorry, something went wrong.
No branches or pull requests
A feature enhancement suggestion:
When changing or extending the markdown syntax with the help of
alter_syntax
, one might needparse_blocks
in addition to thesyntax
parameter.A simple change in a line does it:
Although it's easy to pass
writer
to the new parser, one might even go further with the following, for convenience:I've successfully used this second version in a personal project.
However, I don't have the "whole picture" like you people, so don't know if the above would break something somewhere I haven't looked.
The text was updated successfully, but these errors were encountered: