Skip to content

Commit 7bd0152

Browse files
authored
Language edit
1 parent dc7fd07 commit 7bd0152

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

code-image-generator/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Build a Code Image Generator with Flask, Pygments, and Playwright
22

3-
Follow the [step-by-step instructions](https://realpython.com/code-image-generator/) on Real Python.
3+
Follow the [step-by-step instructions](https://realpython.com/python-code-image-generator/) on Real Python.
44

55
## Setup
66

@@ -18,7 +18,7 @@ Activate the virtual environment:
1818
source ./venv/bin/activate
1919
```
2020

21-
Navigate to the folder for the step you're currently on.
21+
Navigate to the folder for the step that you're currently on.
2222

2323
Install the dependencies for this project if you haven't installed them yet:
2424

@@ -52,7 +52,7 @@ If you need to create cryptographically sound data like a Flask secret key, then
5252
'2e9ac41b1e0b66a8d93d66400e2300c4b4c2953f'
5353
```
5454

55-
The `.token_hex()` method returns a [hexadecimal](https://en.wikipedia.org/wiki/Hexadecimal) string containing random numbers and letters from `0` to `9` and `a` to `f`. Use the value that `secrets.token_hex()` outputs for you and add it in your Flask project's `app.py` file:
55+
The `.token_hex()` method returns a [hexadecimal](https://en.wikipedia.org/wiki/Hexadecimal) string containing random numbers and letters from `0` to `9` and `a` to `f`. Use the value that `secrets.token_hex()` outputs for you and add it to your Flask project's `app.py` file:
5656

5757
```python hl_lines="6"
5858
# app.py
@@ -65,4 +65,4 @@ app.secret_key = "2e9ac41b1e0b66a8d93d66400e2300c4b4c2953f"
6565
# ...
6666
```
6767

68-
To not save the secret key directly in your code, it may be a good idea to work with [environment variables](https://12factor.net/config). You can learn more about it in the Flask documentation about [Configuration Handling](https://flask.palletsprojects.com/en/2.3.x/config/).
68+
To avoid saving the secret key directly in your code, it may be a good idea to work with [environment variables](https://12factor.net/config). You can learn more about that in the Flask documentation on [configuration handling](https://flask.palletsprojects.com/en/2.3.x/config/).

0 commit comments

Comments
 (0)