Create parsedown_function

Just a function conversion of the great Emanuil Rusev's script.
Thanks to him ;-)