Live code exercise 1#87
Conversation
Tom-van-Woudenberg
left a comment
There was a problem hiding this comment.
Hi @katiagatt,
Great start! However (and I should have told you before you started), we cannot expect the users to have installed jupyterlab / VS code / etc. So I think we should have two alternatives in this exercise: 1 if they've installed IDEs and they can edits tags locally, 2 use jupytext markdown files for conversion.
For 2, if you add this to a page:
---
jupytext:
text_representation:
extension: .md
format_name: myst
format_version: 0.13
jupytext_version: 1.17.3
kernelspec:
display_name: base
language: python
name: python3
---
You can add code cells (including tags), like this:
```{code-cell} ipython3
:tags: ["thebe-init"]
print("This is a test.")
```Example here: https://github.com/Tom-van-Woudenberg/testbook/blob/main/book/intro.md and https://tom-van-woudenberg.github.io/testbook/main/intro.html
Furthermore, could you add some python code which people can use which makes sense with the tag?
Tom-van-Woudenberg
left a comment
There was a problem hiding this comment.
I've made some final changes. Good to go!
No description provided.