Skip to content

Better verticals

Pre-release
Pre-release
Compare
Choose a tag to compare
@apiad apiad released this 01 Jan 17:30
3f0f3ae

This release improves the API for vertical slides. Right now, instead of the old nested functions, simply use a main function @slide decorator, like this:

@show.slide
def main(ctx):
    # ...

@main.slide  # <-- see here
def vertical(ctx):
    # this is a vertical slide under `main`