{% extends "base.html" %} {% block title %}{% if is_new %}Create{% else %}Edit{% endif %} {{ title }} — Wiki{% endblock %} {% block content %} {% include "wiki/_layout.html" %}

{% if is_new %}Create new page{% else %}Edit page{% endif %} /wiki/{{ slug }}

Click the Preview tab to render.

Markdown
# Heading 1Top-level heading
## Heading 2Subheading
**bold**bold
*italic*italic
`code`code
- itemBulleted list
1. itemNumbered list
> quoteBlockquote
[text](url)External link
![alt](url)Image
---Horizontal rule
Wiki links
[[Getting Started]] Getting Started
[[home|click here]] Pipe lets you change the link text
[[Sysop Guide#Doors]] Anchor jumps inside the target page
Code blocks
```python
def hello():
    print("hi")
```

Use ``` on its own line to start and end a fenced code block. Add a language name for syntax-coloured highlighting.

Cancel {% if not is_new %} History {% endif %}
{% endblock %}