Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Fix newline handling in Latex double match (issue 674)#677

Open
Julynx wants to merge 1 commit intotrentm:mastertrentm/python-markdown2:masterfrom
Julynx:fix-latex-newlineJulynx/python-markdown2:fix-latex-newlineCopy head branch name to clipboard
Open

Fix newline handling in Latex double match (issue 674)#677
Julynx wants to merge 1 commit intotrentm:mastertrentm/python-markdown2:masterfrom
Julynx:fix-latex-newlineJulynx/python-markdown2:fix-latex-newlineCopy head branch name to clipboard

Conversation

@Julynx
Copy link

@Julynx Julynx commented Feb 2, 2026

Fixes #674

@Crozzers
Copy link
Contributor

Crozzers commented Feb 8, 2026

Are you able to add a new test case under test/tm-cases for this?
Usually you just add a few files:

  • <testcase name>.text: the markdown that showcases the bug
  • <testcase name>.html: the expected bug-free html output
  • <testcase name>.opts (optional): any kwargs to pass to the markdown instance, eg: {'extras': ...}

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.

Latex macros starting with \n like \nabla don't work when present in $$ blocks (extras: latex, breaks)

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.