Skip to content
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 cleaner does not clean indented code blocks #157

Closed
averms opened this issue Nov 12, 2020 · 0 comments
Closed

Markdown cleaner does not clean indented code blocks #157

averms opened this issue Nov 12, 2020 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@averms
Copy link

averms commented Nov 12, 2020

Backtick code blocks are stripped but indented ones are not. They are part of the CommonMark specification so I think it is reasonable for them to be supported.

Example:

Here are a few words.

    <pre class="lua"><code>print 'Hello World!'</code></pre>

Here are some more.

This gives a lot of errors when run with textidote --check en_us test.md.

@sylvainhalle sylvainhalle added the enhancement New feature or request label Nov 12, 2020
@sylvainhalle sylvainhalle added this to the v0.8.2 milestone Nov 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants