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

Allow disabling 4-space code blocks #167

Closed
marcoms opened this issue Dec 3, 2021 · 1 comment
Closed

Allow disabling 4-space code blocks #167

marcoms opened this issue Dec 3, 2021 · 1 comment

Comments

@marcoms
Copy link

marcoms commented Dec 3, 2021

In our Middleman site, we use CommonMarker with partials to allow reusing content, however we have to ensure that none of that content contains 4 spaces to avoid it becoming a code block, which is very tedious. It would be a big help to disable this feature, since we exclusively use code fences instead.

@gjtorikian
Copy link
Owner

If it's not in the official spec, we won't support it. Sorry. I would suggest that whatever is inserting the content into your layout (I'm assuming ERB or some such) should strip the whitespace; or use a plugin like https://github.com/gjtorikian/html-pipeline to handle these issues.

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

No branches or pull requests

2 participants