Skip to content

Conversation

thomasheartman
Copy link
Contributor

@thomasheartman thomasheartman commented Nov 29, 2021

Description

Add syntax highlighting and spacing to initialization code block.

It seems all other code blocks have syntax highlighting, but not this one, even if it's the most involved example on the page.

Also: add some newlines to make it easier to see what's going on.

Fixes # (issue)

Type of change

Please delete options that are not relevant.

  • Readme update

How Has This Been Tested?

Manual test via checking the other branch confirms that the code block is now syntax-highlighted and more spaced out:
image

The current version looks like this:
image

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

Add syntax highlighting and spacing to initialization code block.

It seems all other code blocks have syntax highlighting, but not this one, even if it's the most involved example on the page.

Also: add some newlines to make it easier to see what's going on.
@coveralls
Copy link

coveralls commented Nov 29, 2021

Coverage Status

Coverage remained the same at 96.97% when pulling a615c12 on thomasheartman-patch-1 into cd396b4 on master.

Copy link
Member

@chriswk chriswk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TIL I learned that the triple backtick language also works with capitalised language name :)

LGTM

@thomasheartman thomasheartman merged commit 6597163 into master Dec 1, 2021
@thomasheartman thomasheartman deleted the thomasheartman-patch-1 branch December 23, 2021 12:15
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.

3 participants