A Markdown Editor

A fast and minimal markdown editor

This unnamed markdown editor is a minimal web-based markdown editor with fast preview through WebAssembly.

  • Type markdown to your right
  • See HTML appear to your right
  • That's it 🤷

Features

  • Fast WebAssembly markdown preview
  • Everything is parsed directly in the browser, nothing else.
  • Dark mode support
  • PWA support - Can be installed and used offline

Markdown is a lightweight markup language for creating formatted text using a plain-text editor. John Gruber and Aaron Swartz created Markdown in 2004 as a markup language that is readable in its raw form:

The overriding design goal for Markdown's formatting syntax is to make it as readable as possible. The idea is that a Markdown-formatted document should be Markdown-formatted document should be publishable as-is, as plain text, without looking like it's been marked up with tags or formatting instructions.

To learn the Markdown syntax see the Github's basic writing and formatting syntax

Technology

It uses a number of open source projects to work properly:

  • Preact - Alternative to React with small footprint
  • Pullmark-cmark - Parser for CommonMark written in Rust
  • WASI - WebAssembly System Interface

Showcase

Lists

  • First

  • Second

    • Sub item1
    • Sub item2
      • Sub sub item
        • Sub sub sub item
  • ...

  • Last

Tables

Borrowed from Tables generator

TablesAreCool
col 1 isleft-aligned$1600
col 2 iscentered$12
col 3 isright-aligned$1

Code block

def fibonacci(n):
		    if n < 2:
		        return n

		    return fibonacci(n - 1) + fibonacci(n - 2)
		
public static ulong Fibonacci(uint n) {
		    return (n < 2)? n : Fibonacci(n - 1) + Fibonacci(n - 2);
		}
		

A cat image

This is alt text for the cat image.