Repository navigation
Conversation
Member
Author
|
My thinking here is that Python-Markdown is a library first and foremost. Therefore, we should provide a Python environment for playing with the library. As it turns out, Zensical makes it extremely easy to provide that. We could always add an alternative playground which works more like the demo at https://dingus.python-markdown.workers.dev/ in the future. I considered creating another custom fence for this, but as it is not going to be reused, the single page of raw HTML is simpler to implement and update. |
Zensical provides all of the necessary assets for Pyodide, Ace, and Highlight.js out of the box as part of its support for the Markdown Exec plugin. We just need to provide the HTML. I have manually crafted the HTML that Markdown Exec would render. Fixes Python-Markdown#1628.
Member
Author
Collaborator
|
Yep, I think this is a reasonable solution. I was working to reduce some of my related work to something far simpler, but I honestly forgot that Markdown Exec existed. So yeah, I think this is a good solution for what we want here. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Zensical provides all of the necessary assets for Pyodide, Ace, and Highlight.js out of the box as part of its support for the Markdown Exec plugin. We just need to provide the HTML. I have manually crafted the HTML that Markdown Exec would render.
Fixes #1628.
Description
AI Assistance Disclosure
Checklist