troelskn / upflow

Flowing markdown upstream
http://troelskn.github.com/upflow/
33 stars 3 forks source link

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½