Project README
A short tour of what this viewer renders. Edit anything on the left and the preview updates as you type.
Text
Write emphasis, strong, both, strikethrough and inline code.
End a line with a backslash
for a hard break. Links work too: Nexzem tools, https://nexzem.com and bare URLs like https://nexzem.com/blog.
Markdown is meant to be readable as plain text, before it is ever rendered.
Lists
- Plan the release
- Ship it
- write the changelog
- tag the version
- Celebrate
- Parser with GFM tables
- Escape raw HTML
- Your next idea
Code
// Fetch a project and print its name
async function load(id) {
const res = await fetch(`/api/projects/${id}`)
return (await res.json()).name ?? "untitled"
}Table
| Feature | CommonMark | GFM |
|---|---|---|
| Headings | yes | yes |
| Tables | no | yes |
| Task lists | no | yes |
| Strikethrough | no | yes |
Image
Raw HTML such as <script>alert("hi")</script> is shown as text, never run.