diff --git a/python-html/readme.md b/python-html/readme.md index a4e43c4..cdfdeed 100644 --- a/python-html/readme.md +++ b/python-html/readme.md @@ -30,7 +30,9 @@ It is most likely Python isn't installed. You can [download it, and find install ### Jinja +```python pip3 install jinja2 +``` ## Running the script @@ -38,7 +40,7 @@ Running the script should result in the folder of the script: `index.html` this *When using the terminal*: The script can be ran by first using `cd` to move into the folder of the script. The easiest way is typing `cd` and a space and then drag and drop the folder onto the terminal. Then press enter. Once you are in the folder, type: -``` +```bash python3 render-template.py ``` @@ -49,7 +51,7 @@ Pages using paged.js *and* an external styles file need to be opened through a l It is quite possible your editor has this functionality built in and it is perfectly fine to use that. Python also has a simple server built in. To start it, first `cd` into the folder of your project. Then run: -``` +```bash python3 -m http.server ``` @@ -120,4 +122,4 @@ Now, add the following lines to the template to make jinja loop through the list
  • {{ technology }}
  • {% endfor %} -``` \ No newline at end of file +```