Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 6e27bf05e9
Fetching contributors…

Cannot retrieve contributors at this time

file 50 lines (33 sloc) 1.464 kb

Upflow

Flowing Markdown upstream.

A wysiwym editor for Markdown.

Demo at: http://troelskn.github.com/upflow/

License and author

Upflow was written by Troels Knak-Nielsen, and released under the MIT license.

Dependencies

Upflow uses the Showdown library.

2009-03-27 NB: Distributing an deobfuscated, minifyable version of the above code.

The version of showdown.js distributed with Upflow can be minified.

A pull request has been sent to derobins' wmd at GitHub.

Blocktypes are custom templates

Upflow can render templates -- blocktypes -- and currently ships with two of these, found in the blocktypes/ folder.

image.js

Renders an IMG tag, takes arguments like:

..image :: path/to/the/image.png

ledger.js

The ledger blocktype is a table renderer. You enter your data like so:

..ledger
Lorem ipsum dolor sit amet
foo
  32
  16
  8
bar
  14
  7
  3½
Something went wrong with that request. Please try again.