Skip to content

Commit c286972

Browse files
committed
Fix python language name
1 parent f51c6a7 commit c286972

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

blog_professional/_posts/2020-07-16-blog-guide.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -144,20 +144,20 @@ For your personal blog, see their information on [getting started](https://www.m
144144
## Code Bocks
145145

146146
This is a code block.
147-
```python3
147+
```python
148148
# The Answer to the Ultimate Question of Life, The Universe, and Everything
149149
print(42)
150150
```
151151

152152
Here's how to make it happen in Markdown.
153153
~~~markdown
154-
```python3
154+
```python
155155
# The Answer to the Ultimate Question of Life, The Universe, and Everything
156156
print(42)
157157
```
158158
~~~
159159

160-
Note the language name (`python3`) following the backticks.
160+
Note the language name (`python`) following the backticks.
161161
Specifying the language name enables syntax highlighting, which makes the code block *a lot* more readable.
162162
See [here](https://github.com/highlightjs/highlight.js/blob/master/SUPPORTED_LANGUAGES.md) for a list of supported languages.
163163

@@ -205,7 +205,7 @@ I've found [this web tool](https://www.fotor.com/) useful for throwing images to
205205

206206
When you generate graphs, save them as high-resolution (300 DPI) `.png`'s with transparency enabled.
207207
Here's how to do that with Matplotlib.
208-
```python3
208+
```python
209209
...
210210
plt.savefig(
211211
'title-slug-descriptor.png',

0 commit comments

Comments
 (0)