Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 6a10132

Browse filesBrowse files
committed
📝 Update syntax for tabs with new pymdown extensions
1 parent d086739 commit 6a10132
Copy full SHA for 6a10132

1 file changed

+50-46Lines changed: 50 additions & 46 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎docs/tutorial/index.md‎

Copy file name to clipboardExpand all lines: docs/tutorial/index.md
+50-46Lines changed: 50 additions & 46 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -134,52 +134,56 @@ Go ahead and create a Python virtual environment for this project. And make sure
134134

135135
Here are the commands you could use:
136136

137-
=== "Linux, macOS, Linux in Windows"
138-
139-
<div class="termy">
140-
141-
```console
142-
// Remember that you might need to use python3.9 or similar 💡
143-
// Create the virtual environment using the module "venv"
144-
$ python3 -m venv env
145-
// ...here it creates the virtual environment in the directory "env"
146-
// Activate the virtual environment
147-
$ source ./env/bin/activate
148-
// Verify that the virtual environment is active
149-
# (env) $$ which python
150-
// The important part is that it is inside the project directory, at "code/sqlmodel-tutorial/env/bin/python"
151-
/home/leela/code/sqlmodel-tutorial/env/bin/python
152-
// Use the module "pip" to install and upgrade the package "pip" 🤯
153-
# (env) $$ python -m pip install --upgrade pip
154-
---> 100%
155-
Successfully installed pip
156-
```
157-
158-
</div>
159-
160-
=== "Windows PowerShell"
161-
162-
<div class="termy">
163-
164-
```console
165-
// Create the virtual environment using the module "venv"
166-
# >$ python3 -m venv env
167-
// ...here it creates the virtual environment in the directory "env"
168-
// Activate the virtual environment
169-
# >$ .\env\Scripts\Activate.ps1
170-
// Verify that the virtual environment is active
171-
# (env) >$ Get-Command python
172-
// The important part is that it is inside the project directory, at "code\sqlmodel-tutorial\env\python.exe"
173-
CommandType Name Version Source
174-
----------- ---- ------- ------
175-
Application python 0.0.0.0 C:\Users\leela\code\sqlmodel-tutorial\env\python.exe
176-
// Use the module "pip" to install and upgrade the package "pip" 🤯
177-
# (env) >$ python3 -m pip install --upgrade pip
178-
---> 100%
179-
Successfully installed pip
180-
```
181-
182-
</div>
137+
/// tab | Linux, macOS, Linux in Windows
138+
139+
<div class="termy">
140+
141+
```console
142+
// Remember that you might need to use python3.9 or similar 💡
143+
// Create the virtual environment using the module "venv"
144+
$ python3 -m venv env
145+
// ...here it creates the virtual environment in the directory "env"
146+
// Activate the virtual environment
147+
$ source ./env/bin/activate
148+
// Verify that the virtual environment is active
149+
# (env) $$ which python
150+
// The important part is that it is inside the project directory, at "code/sqlmodel-tutorial/env/bin/python"
151+
/home/leela/code/sqlmodel-tutorial/env/bin/python
152+
// Use the module "pip" to install and upgrade the package "pip" 🤯
153+
# (env) $$ python -m pip install --upgrade pip
154+
---> 100%
155+
Successfully installed pip
156+
```
157+
158+
</div>
159+
160+
///
161+
162+
/// tab | Windows PowerShell
163+
164+
<div class="termy">
165+
166+
```console
167+
// Create the virtual environment using the module "venv"
168+
# >$ python3 -m venv env
169+
// ...here it creates the virtual environment in the directory "env"
170+
// Activate the virtual environment
171+
# >$ .\env\Scripts\Activate.ps1
172+
// Verify that the virtual environment is active
173+
# (env) >$ Get-Command python
174+
// The important part is that it is inside the project directory, at "code\sqlmodel-tutorial\env\python.exe"
175+
CommandType Name Version Source
176+
----------- ---- ------- ------
177+
Application python 0.0.0.0 C:\Users\leela\code\sqlmodel-tutorial\env\python.exe
178+
// Use the module "pip" to install and upgrade the package "pip" 🤯
179+
# (env) >$ python3 -m pip install --upgrade pip
180+
---> 100%
181+
Successfully installed pip
182+
```
183+
184+
</div>
185+
186+
///
183187

184188
## Install **SQLModel**
185189

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.