Notebooks
A
Alph
02 Rich Markdown

02 Rich Markdown

tutorialsAlphgetting-started

Rich Markdown

Open in Alph

Alph markdown cells support everything you'd expect — and more. This notebook showcases what's possible. Double-click any cell to see the source.

Text Formatting

Bold, italic, strikethrough, inline code, and bold italic.

You can also use HTML highlights, superscript, and subscript.

Headings & Structure

Blockquotes

"The best way to predict the future is to invent it." — Alan Kay

Nested blockquotes work too:

This is a nested quote.

Horizontal Rules


Lists

Ordered:

  1. First item
  2. Second item
    1. Nested item
    2. Another nested item
  3. Third item

Unordered:

  • Item one
  • Item two
    • Sub-item
    • Another sub-item
  • Item three

Task lists:

  • Create notebook
  • Add markdown examples
  • Share with the world

Code Blocks

Syntax-highlighted code blocks in any language:

def greet(name: str) -> str:
    return f"Hello, {name}!"
const greet = (name) => `Hello, ${name}!`;
SELECT users.name, COUNT(notebooks.id) AS notebook_count
FROM users
JOIN notebooks ON users.id = notebooks.user_id
GROUP BY users.name
ORDER BY notebook_count DESC;

Tables

Standard markdown tables with alignment:

FeatureJupyterColabAlph
AI Code GenerationNoBasicFull
Scheduled RunsNoNoYes
Embeddable CellsNoNoYes
Cloud ComputeNoFree tierFlexible
Keyboard-firstPartialNoYes

Math with LaTeX / KaTeX

Inline math

The quadratic formula is x=b±b24ac2ax = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}, which gives the roots of ax2+bx+c=0ax^2 + bx + c = 0.

Block math

×E=Bt\nabla \times \mathbf{E} = -\frac{\partial \mathbf{B}}{\partial t} ex2dx=π\int_{-\infty}^{\infty} e^{-x^2} \, dx = \sqrt{\pi}

Matrices

A=[123456789]\mathbf{A} = \begin{bmatrix} 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9 \end{bmatrix}

Aligned equations

f(x)=(x+1)2=x2+2x+1\begin{aligned} f(x) &= (x + 1)^2 \\ &= x^2 + 2x + 1 \end{aligned}

Images

From URL

Python Logo

Resized with HTML

Python Logo Small

Paste from clipboard

You can also paste images directly into markdown cells — just Ctrl+V an image from your clipboard. Alph uploads and embeds it automatically.

HTML Embeds

You can embed raw HTML in markdown cells for richer content:

Click to expand — collapsible sections with <details>

This content is hidden by default. Great for:

  • Long explanations
  • Optional context
  • Solutions to exercises
# The answer was here all along
print("Hello, World!")

Colored callout boxes

Info: This is an informational callout.
Warning: This is a warning callout.
Success: This is a success callout.

Footnotes & Links

Alph supports footnotes1 for citations and references2.

Links: Alph | Documentation

Footnotes

  1. Footnotes appear at the bottom of the rendered markdown.

  2. Great for academic notebooks and data analysis reports.

Mermaid Diagrams

Rendering diagram...

Putting It All Together

Rich markdown makes your notebooks into living documents — not just code with comments. Combine:

  • Formatted explanations for context
  • Math for formulas and proofs
  • Tables for comparisons and results
  • Images and diagrams for visual explanation
  • Collapsible sections for optional detail

Double-click any cell in this notebook to see the markdown source, then press Shift+Enter to render it again.