Browse Source

Correct pygments lexer names

Cynthia Kiser 1 year ago
parent
commit
3bc5564a8b

+ 2 - 2
docs/tutorial/create_portfolio_page.md

@@ -350,7 +350,7 @@ To add your resume to your portfolio site, follow these steps:
     c. Click **Paragraph block**.   
     d. Copy and paste the following text in your new **Paragraph block**:  
 
-    ```txt
+    ```text
     I'm a Wagtail Developer with a proven track record of developing and maintaining complex web applications. I have experience writing custom code to extend Wagtail applications, collaborating with other developers, and integrating third-party services and APIs.
     ```  
 
@@ -366,7 +366,7 @@ To add your resume to your portfolio site, follow these steps:
 
     j. Type the following after your Heading 3:
 
-    ```txt
+    ```text
     January 2022 to November 2023
 
     - Developed and maintained a complex web application using Wagtail, resulting in a 25% increase in user engagement and a 20% increase in revenue within the first year.

+ 5 - 5
docs/tutorial/deployment.md

@@ -55,7 +55,7 @@ After setting up your Backblaze B2 Cloud Storage, you must link it to your portf
 
 Start by creating a `.env.production` file at the root of your project directory. At this stage, your project directory should look like this:
 
-```txt
+```text
 mysite/
 ├── base
 ├── blog
@@ -130,7 +130,7 @@ Now, use your `keyID` as the value of `AWS_S3_ACCESS_KEY_ID` and `applicationKey
 
 At this stage, the content of your `.env.production` file looks like this:
 
-```txt
+```text
 AWS_STORAGE_BUCKET_NAME=yourname-wagtail-portfolio
 AWS_S3_ENDPOINT_URL=https://s3.us-east-005.backblazeb2.com
 AWS_S3_REGION_NAME=us-east-005
@@ -162,7 +162,7 @@ To set up your Fly.io account, follow these steps:
 3. Sign up using your GitHub account, Google account, or the email option.
 4. Check your email inbox for the verification link to verify your email.
 
-```note
+```{note}
 If your email verification fails, go to your Fly.io [Dashboard](https://fly.io/dashboard) and try again.
 ```
 
@@ -306,7 +306,7 @@ console_command = "/code/manage.py shell"
 
 Now add your production dependencies by replacing the content of your `requirements.txt` file with the following:
 
-```txt
+```text
 Django>=4.2,<4.3
 wagtail==5.1.1
 gunicorn>=21.2.0,<22.0.0
@@ -416,7 +416,7 @@ Now, complete the configuration of your environment variables by modifying your
 
 The content of your `.env.production` file should now look like this:
 
-```txt
+```text
 AWS_STORAGE_BUCKET_NAME=yourname-wagtail-portfolio
 AWS_S3_ENDPOINT_URL=https://s3.us-east-005.backblazeb2.com
 AWS_S3_REGION_NAME=us-east-005

+ 1 - 1
docs/tutorial/style_your_site.md

@@ -178,7 +178,7 @@ To add a skip-link, add the following styles to your `mysite/static/css/mysite.c
 
 After adding the styles, go to your `mysite/templates/base.html` file and add a unique identifier:
 
-```html+python
+```html+django
 {% include "includes/header.html" %}
 
 {# Add a unique identifier: #}