Skip to content

Improve code block removal#559

Open
vismam wants to merge 2 commits into
tcort:masterfrom
vismam:improve-code-block-removal
Open

Improve code block removal#559
vismam wants to merge 2 commits into
tcort:masterfrom
vismam:improve-code-block-removal

Conversation

@vismam

@vismam vismam commented Feb 12, 2026

Copy link
Copy Markdown
  • Allow leading spaces
  • Allow tilde
  • Allow more than three backtick or tilde symbols

This is supposed to fix #456.

The following test files can be used to compare the behavior before and after the change:

- Allow leading spaces
- Allow tilde
- Allow more than three backtick or tilde symbols
@vismam vismam marked this pull request as ready for review February 12, 2026 13:01
@vismam

vismam commented Mar 4, 2026

Copy link
Copy Markdown
Author

@tcort, @smainil, @BaseMax would you mind reviewing this change?

@github-actions

github-actions Bot commented Jun 2, 2026

Copy link
Copy Markdown

This pull request has been marked as stale because it has been open 60 days with no activity. It will be closed in 90 days unless the stale label is removed or someone adds a comment.

@github-actions github-actions Bot added the Stale label Jun 2, 2026
@vismam

vismam commented Jun 2, 2026

Copy link
Copy Markdown
Author

@tcort, @smainil, @BaseMax, would you mind reviewing this change? Any feedback is appreciated.

@github-actions github-actions Bot removed the Stale label Jun 3, 2026
@BaseMax

BaseMax commented Jun 8, 2026

Copy link
Copy Markdown
Collaborator

Hi everyone, What is good and new here to check/merge?

@BaseMax

BaseMax commented Jun 8, 2026

Copy link
Copy Markdown
Collaborator

Can you please provide an example input to test the PR? @vismam

@vismam

vismam commented Jun 8, 2026

Copy link
Copy Markdown
Author

@BaseMax I've added four files that can be used to compare before and after my suggested change.

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.

Anchor checking fails when the close of a fence block is indented more than the open

2 participants