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

Disallow indented code blocks #15

Merged
merged 2 commits into from
Sep 22, 2023
Merged

Conversation

DavidBiddle
Copy link
Contributor

@DavidBiddle DavidBiddle commented Sep 7, 2023

Indented code blocks were being rendered by Redcarpet (you can reproduce this by putting four spaces or an indent character at the beginning of a line and previewing). This PR switches them off.

Also adds a renderer method to deal with inline code tags (e.g. inline code).

@DavidBiddle DavidBiddle force-pushed the disallow-indented-code-blocks branch 3 times, most recently from 8134e84 to f830d79 Compare September 8, 2023 09:11
@DavidBiddle DavidBiddle force-pushed the disallow-indented-code-blocks branch from f830d79 to 7261da4 Compare September 8, 2023 09:57
@DavidBiddle DavidBiddle linked an issue Sep 8, 2023 that may be closed by this pull request
@DavidBiddle DavidBiddle merged commit 7ab32a1 into main Sep 22, 2023
@DavidBiddle DavidBiddle deleted the disallow-indented-code-blocks branch September 22, 2023 08:03
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.

Code blocks should returned as <p>
2 participants