Skip to main content

Simple slide decks with Markdown and Python

Project description

Slidedown

  • Do you ✍️ Slides?
  • Do you 😠 PowerPoint?
  • Do you ❤️ Markdown?

You're in Luck!

Turn markdown like this:

# Step 1

Create an awesome slide deck.

# Step 2

Present it to awesome people.

# Step 3

Profit?

Into slides like this:

How?

  1. Install slidedown with pip
pip install slidedown
  1. Start presenting your markdown files
slidedown README.md
  1. Open up your browser
http://localhost:5678/client/index.html

Interactive Elements

You can embed interactive views into your slides using IDOM, by adding an HTML element into your markup with an attribute of the form data-idom="your_script.py" where your_script.py should be placed in the same directory that slidedown was invoked and must contains a function Main() that returns an IDOM element or a VDOM dict.

IDOM in Slidedown Example

The following markup:

# Hello IDOM!

<span data-idom="hello.py" />

and a script hello.py containing:

import idom

@idom.component
def Main():
    hi_count, set_hi_count = idom.hooks.use_state(1)
    return idom.html.button(
        {"onClick": lambda event: set_hi_count(hi_count + 1)},
        f"IDOM said hi {hi_count} time(s)",
    )

Should produce the following output:

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

slidedown-0.6.1.tar.gz (8.2 kB view details)

Uploaded Source

Built Distribution

slidedown-0.6.1-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

Details for the file slidedown-0.6.1.tar.gz.

File metadata

  • Download URL: slidedown-0.6.1.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.0

File hashes

Hashes for slidedown-0.6.1.tar.gz
Algorithm Hash digest
SHA256 53694edf7c8d08f1f536bc9e2527eafc0e94975439036b5c15128f1b428dbccc
MD5 d7a330699bca0c4ea7aaf2e79ceca6f9
BLAKE2b-256 e390f6586105966d95915da5ae24c569b8590a8ceba8c0ec7f1aafad8ba9955d

See more details on using hashes here.

File details

Details for the file slidedown-0.6.1-py3-none-any.whl.

File metadata

  • Download URL: slidedown-0.6.1-py3-none-any.whl
  • Upload date:
  • Size: 8.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.0

File hashes

Hashes for slidedown-0.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6e1d95ec8072e1cfad1a9a4038d957f7e6cb44335f77ba2a28d990bd4840e3da
MD5 c9c24bb7e8d6c747cde0e497cb906d96
BLAKE2b-256 dc50a848c5659c3838ff1de9906ad9eb0522f56a64cf764e0c725b3e1047d6da

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page