Improving the Best Practice formatting #161
christianbraeunlich
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm not very used to this whole Discussions sections, however:
one thing that crossed my mind when updating the nav-archive format: sometimes it's hard to tell what differences were made from the bad code to good code. Let me show you an example to get the idea:
Binary Operator to Start Line
and the more extreme example:
Remove trailing whitespaces
Bad code
Good code
Unfortunately I don't know how to highlight the changed characters. Maybe someone else with more markdown experience knows this?
1. Example
Bad code
Good code
2. Example
Bad code
Good code
results in a ToC in the side navbar like this:

Beta Was this translation helpful? Give feedback.
All reactions