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

Fix code block languages #407

Merged
merged 1 commit into from
Sep 18, 2023
Merged

Conversation

DomGarguilo
Copy link
Member

This PR fixes and improves a bunch of code blocks throughout the site.

For some reason commandline was used a lot in the code blocks but does not exist in the code highlighter we use, rouge. So a lot if blocks ended up looking like this:
Screenshot from 2023-09-15 09-36-27
And after being fixed they look correct:
Screenshot from 2023-09-15 09-33-58

I added the console language to a lot of blocks because I think it looks better.
Here is a code block without a language specified:
Screenshot from 2023-09-15 11-03-04
And here is the same code block with the console language specified.
Screenshot from 2023-09-15 11-03-54

@DomGarguilo DomGarguilo self-assigned this Sep 15, 2023
@DomGarguilo DomGarguilo merged commit 5947324 into apache:main Sep 18, 2023
1 check passed
@DomGarguilo DomGarguilo deleted the fixCodeBlocks branch September 18, 2023 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants