critic.py - What is the critic markup putting back into the document in the Postprocessor? #2538
|
Trying to learn how markdown extensions work, and I'm using critic.py as my example. I understand most of all what is going on, but what is the Postprocessor doing? It's not clear to me what, exactly, is being injected back into the HTML stream... |
Answered by
facelessuser
Nov 29, 2024
Replies: 2 comments
|
The postprocessor is used to inject a visual representation of the critic markups. This is a cumbersome process, to pull off well with the Python Markdown, but it works to some degree. The documentation shows examples. The critic extension is more useful for just accepting or rejecting the changes. |
0 replies
Answer selected by
facelessuser
|
Thanks for the explanation, makes more sense to me now.On Nov 29, 2024, at 5:09 PM, Isaac Muse ***@***.***> wrote:
The postprocessor is used to inject a visual representation of the critic markups. This is a cumbersome process, to pull off well with the Python Markdown, but it works to some degree. The documentation shows examples. The critic extension is more useful for just accepting or rejecting the changes.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***>
|
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The postprocessor is used to inject a visual representation of the critic markups. This is a cumbersome process, to pull off well with the Python Markdown, but it works to some degree. The documentation shows examples. The critic extension is more useful for just accepting or rejecting the changes.