Write to Jupyter notebook
A Guide to Creating Memorable Presentations
September 22, 2025
Samantha Monty
Chair for Human-Computer Interaction, University of Würzburg

Write deck to notebook

Decker metadata

write-notebook: True

Jupyter metadata

jupyter:
  nbformat: 4
  nbformat_minor: 2
  kernelspec:
     display_name: Haskell
     language: haskell
     name: haskell
  language_info:
     codemirror_mode: "ihaskell"
     file_extension: ".hs"
     name: "haskell"
     pygments_lexer: "Haskell"
     version: "8.6.5"

In the notebook

Selected content

  • Only slides marked with {.notebook}

Code block as cells

  • Code blocks marked with {.code}

Source code

# In the notebook {#in-the-notebook .notebook}

## Selected content {#selected-content}

-   Only slides marked with `{.notebook}`

## Code block as cells {#code-block-as-cells}

-   Code blocks marked with `{.code}`

A live code cell (Haskell)

This cell will be live in the notebook.

main = putStrLn "Hello World!"
main

Source code

# A live code cell (Haskell) {#a-live-code-cell-haskell .notebook}

This cell will be live in the notebook.

``` {.haskell .code}
main = putStrLn "Hello World!"
main
```