MarkDown, SmartyPants, GeSHi and Dot combined
PHP Perl
Latest commit 59ab705 Jan 9, 2013 @edwinm Merge pull request #1 from acuthbert/master
Two small tweaks I found essential


Beautify is a PHP-function which combines four text tools into one function

  • Markdown: Simpler and more readable than HTML
  • SmartyPants: Adds better typography (curly quotes, ellipsis...)
  • GeSHi: Adds syntax highlighting to source code
  • Dot: Converts the Dot graph language to SVG and VML

For more information, read Beautify: Markdown, SmartyPants, GeSHi and Dot combined.

Remark about VML: IE8 does not support SVG. It does support VML, Microsoft's own vector format, but only without standards support (so no doctype). See KB932175. So you have to chose between standards support and VML support. #facepalm

Copyright 2012 Edwin Martin

License: MIT or GPL

To get Beautify:

git clone