I am new to Editorial and pretty new to Python, too. I am trying to find out whether I can use Editorial to take notes while learning Python, similar to IPython Notebooks (I know about the Computable app but want to try another approach).
What I want to archive is:
- Send the markdown code block where the cursor is currently in to Python (I use fenced code blocks)
- Evaluate the code
- Append the results as comments at the end of the same markdown code block
Example:
```python
1 + 1
10 % 3
```
Should become:
```python
1 + 1
10 % 3
# 2
# 1
```
Do you have any pointers how to best tackle this problem?