Tempel

Syntax

Tempel takes markdown and gives it a clean URL. Everything below is rendered by the same pipeline that renders a real paste — these examples are its actual output, not a description of it.

Text

**bold**, *italic*, ~~strikethrough~~, `inline code`

==highlighted== and %red% coloured %% text

bold, italic, strikethrough, inline code

highlighted and coloured text

Alignment

-> centred <-

-> right aligned ->

centred

right aligned

Callouts

!!! note A note
Four kinds: note, info, warning, danger.

A note

Four kinds: note, info, warning, danger.

Spoiler

!> Hidden until clicked
!> and it can run to several lines
Spoiler

Hidden until clicked and it can run to several lines

Tables

| Part | Value |
|------|------:|
| R1   |   10k |
| R2   |    4k7 |
Part Value
R1 10k
R2 4k7

Task lists

- [x] measured
- [ ] documented
  • measured
  • documented

Maths

Inline $V_{out} = V_{in}\cdot\frac{R_2}{R_1+R_2}$, and display maths:

$$
\oint_C \mathbf{B} \cdot d\mathbf{l} = \mu_0 I
$$

Inline Vout=Vin⋅R2R1+R2V_{out} = V_{in}\cdot\frac{R_2}{R_1+R_2}, and display maths:

∮CB⋅dl=μ0I\oint_C \mathbf{B} \cdot d\mathbf{l} = \mu_0 I

Code

```ts
const ratio = r2 / (r1 + r2);
```
const ratio = r2 / (r1 + r2);

Embed — YouTube, Instagram, TikTok

Link biasa:

https://www.youtube.com/watch?v=dQw4w9WgXcQ

Embed:

embed{https://www.youtube.com/watch?v=dQw4w9WgXcQ}

Table of contents

[TOC]

Put it anywhere; it lists every heading in the paste.

Put it anywhere; it lists every heading in the paste.

Footnotes

A claim[^1]

[^1]: and where it came from.

A claim1

Footnotes

  1. and where it came from. ↩

Options

Written as OPTION = value in the Options box beside the editor, one per line. Lines starting with # are ignored.

PAGE_TITLE
Browser tab title. Up to 120 characters.
PAGE_DESCRIPTION
Search and link-preview description. Up to 300 characters.
OPTION_DISABLE_VIEWS
Hide the view counter. true / false
OPTION_DISABLE_SEARCH_ENGINE
Ask search engines not to index this paste. true / false
ACCESS_RECOMMENDED_THEME
Theme this paste reads best in. light / dark
CONTAINER_MAX_WIDTH
Reading column width in pixels. 320 to 1600.
CONTENT_TEXT_COLOR
Body text colour. A colour name or #hex.
CONTENT_FONT
Body font. sans / serif / mono

Who can publish

Only the site owner. Pastes themselves are public — anyone with a link can read it, view its source at /slug/raw, and copy any code block.