-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add missing syntax highlighting to python.md (#2154)
Fixes missing code highlighting in half of the Python code snippets. The top half of the page had code examples formatted as code blocks with 4 space character indentations and no syntax highlighting as a result. The bottom half on the other hand, used code blocks surrounded by "```py" formatting brackets which hints to many markdown renders that syntax highlighting should be applied. This unifies the code blocks in the top half of the page to use the same formatting syntax used in the bottom half with syntax highlighting. This change was prompted by requests to add the syntax highlighting in comments on the https://devhints.io/python page.
- Loading branch information
Showing
1 changed file
with
109 additions
and
92 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters