Skip to content

Commit

Permalink
adds sample project
Browse files Browse the repository at this point in the history
  • Loading branch information
edublancas committed Apr 23, 2024
1 parent 393cdf1 commit de58485
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
19 changes: 19 additions & 0 deletions sample-mkdocs-project/docs/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
stuff: value
---

# Welcome to MkDocs

<!-- [Interact](#){ .md-button .small-button #activate-interactivity }
-->


```python
print(1+1)
```

```python
import matplotlib.pyplot as plt

plt.scatter([1, 2, 3], [1, 2, 3])
```
20 changes: 20 additions & 0 deletions sample-mkdocs-project/mkdocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
site_name: My Docs
plugins:
- mkdocs-thebe:
baseUrl: http://localhost:5001
theme:
name: material
features:
- content.code.copy

markdown_extensions:
- pymdownx.highlight:
anchor_linenums: true
line_spans: __span
pygments_lang_class: true
- pymdownx.inlinehilite
- pymdownx.snippets
- pymdownx.superfences

# needed to enable the button that triggers the code execution
- attr_list

0 comments on commit de58485

Please sign in to comment.