Пример #1
0
def test_md_demo():
    "Make sure the Markdown-first demo runs without exceptions as well"

    from auditorium.markdown import MarkdownLoader

    show = MarkdownLoader("auditorium/static/md/demo.md").parse()
    show.render()
Пример #2
0
    def render(path, theme="white", instance_name="show"):
        "Renders a slideshow into a single HTML with all resources embedded."

        show = Show.load(path, instance_name)
        print(show.render(theme))
Пример #3
0
def test_demo():
    "Make sure the demo runs without exceptions at least one"

    from auditorium.demo import show

    show.render()