-
Notifications
You must be signed in to change notification settings - Fork 740
New issue
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
Markdown
improvements
#2803
Markdown
improvements
#2803
Commits on Jun 19, 2023
-
Initial set of Markdown widget unit tests
Noting too crazy or clever to start with, initially something to just test the basics and to ensure that the resulting Textual node list is what we'd expect. Really just the start of a testing framework for Markdown.
Configuration menu - View commit details
-
Copy full SHA for 50ff6b0 - Browse repository at this point
Copy the full SHA 50ff6b0View commit details -
Allow handling of an unknown token
This allow for a couple of things: 1. First and foremost this will let me test for unhandled tokens in testing. 2. This will also let applications support other token types.
Configuration menu - View commit details
-
Copy full SHA for d1d1b71 - Browse repository at this point
Copy the full SHA d1d1b71View commit details -
Configuration menu - View commit details
-
Copy full SHA for 90696ca - Browse repository at this point
Copy the full SHA 90696caView commit details -
Treat a code_block markdown token the same as a fence
I believe this should be a fine way to solve this. I don't see anything that means that a `code_block` is in any way different than a fenced block that has no syntax specified. See Textualize#2781.
Configuration menu - View commit details
-
Copy full SHA for 89e25ce - Browse repository at this point
Copy the full SHA 89e25ceView commit details -
Configuration menu - View commit details
-
Copy full SHA for 18f4656 - Browse repository at this point
Copy the full SHA 18f4656View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7d732eb - Browse repository at this point
Copy the full SHA 7d732ebView commit details -
Allow for inline fenced code and code blocks
See Textualize#2676 Co-authored-by: TomJGooding <101601846+TomJGooding@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for e2dd711 - Browse repository at this point
Copy the full SHA e2dd711View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ef5ab1 - Browse repository at this point
Copy the full SHA 8ef5ab1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4986737 - Browse repository at this point
Copy the full SHA 4986737View commit details -
Improve the testing of Markdown
Also add a test for the list inline code block
Configuration menu - View commit details
-
Copy full SHA for 9fcb4d4 - Browse repository at this point
Copy the full SHA 9fcb4d4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 870b6c3 - Browse repository at this point
Copy the full SHA 870b6c3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 21558ed - Browse repository at this point
Copy the full SHA 21558edView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3412a28 - Browse repository at this point
Copy the full SHA 3412a28View commit details -
Configuration menu - View commit details
-
Copy full SHA for 01e6401 - Browse repository at this point
Copy the full SHA 01e6401View commit details