resumee-website/content/post/blog-with-jupyter/index.md

35 lines
766 B
Markdown
Raw Normal View History

2024-04-06 08:09:34 +02:00
---
title: Blog with Jupyter Notebooks!
date: '2023-11-04'
summary: Easily blog from Jupyter notebooks!
---
```python
from IPython.core.display import Image
Image('https://www.python.org/static/community_logos/python-logo-master-v3-TM-flattened.png')
```
![png](output_1_0.png)
```python
print("Welcome to Academic!")
```
Welcome to Academic!
## Organize your notebooks
Place the notebooks that you would like to publish in a `notebooks` folder at the root of your website.
## Import the notebooks into your site
```bash
pipx install academic
academic import 'notebooks/**.ipynb' content/post/ --verbose
```
The notebooks will be published to the folder you specify above. In this case, they will be published to your `content/post/` folder.