Skip to content

Commit

Permalink
Merge pull request #9 from apiad/develop
Browse files Browse the repository at this point in the history
Fixes
  • Loading branch information
apiad authored Dec 10, 2019
2 parents 0012d84 + b3446f4 commit 5b39819
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ Pure Markdown can be used as long as all you need is static content. If you need
If you need interaction or advanced `auditorium` features,
simply add a code section.

```python
```python :run
with show.columns(2) as cl:
text = show.text_input("World")

Expand All @@ -149,6 +149,8 @@ with show.columns(2) as cl:

An instance named `show` will be magically available in every Python code section. Beware that **local variables are not persisted** between different code sections. This is a by-design decision to save you a bunch of headaches, believe me.

You need to add `:run` to the code section declaration for it to be executed, otherwise `auditorium` will consider it just Markdown code and simply print it. If you want **both** to run and print the code, then add `:run :echo` to the code declaration part.

Once you finished authoring you slideshow, simply run it just like before:

```bash
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@


# TODO: Update version whenever changes
VERSION = '0.3.0'
VERSION = '0.3.1'


def get_install_requirements():
Expand Down

0 comments on commit 5b39819

Please sign in to comment.