Skip to content

Commit 2f28375

Browse files
committed
docs: Fix docs
1 parent 7e1facb commit 2f28375

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

docs/index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ hide:
1212

1313
Given the following code:
1414

15-
```python exec="1" result="python"
16-
print('--8<-- "examples/normal.py"')
15+
```python
16+
--8<-- "examples/normal.py"
1717
```
1818

1919
And this *mkdocstrings* configuration:
@@ -35,8 +35,8 @@ Here is the rendered HTML: <!-- markdown-exec: hide -->
3535

3636
Given the following code:
3737

38-
```python exec="1" result="python"
39-
print('--8<-- "examples/notitle.py"')
38+
```python
39+
--8<-- "examples/notitle.py"
4040
```
4141

4242
And this *mkdocstrings* configuration:

zensical.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,8 @@ permalink = "¤"
130130
generic = true
131131
[project.markdown_extensions.pymdownx.betterem]
132132
smart_enable = "all"
133+
[project.markdown_extensions.pymdownx.blocks.tab]
134+
alternate_style = true
133135
[project.markdown_extensions.pymdownx.caret]
134136
[project.markdown_extensions.pymdownx.details]
135137
[project.markdown_extensions.pymdownx.emoji]
@@ -149,6 +151,11 @@ name = "python"
149151
class = "python"
150152
validator = "markdown_exec.validator"
151153
format = "markdown_exec.formatter"
154+
[[project.markdown_extensions.pymdownx.superfences.custom_fences]]
155+
name = "md"
156+
class = "markdown"
157+
validator = "markdown_exec.validator"
158+
format = "markdown_exec.formatter"
152159
[project.markdown_extensions.pymdownx.tabbed]
153160
alternate_style = true
154161
[project.markdown_extensions.pymdownx.tasklist]

0 commit comments

Comments
 (0)