New markdown parser which works on client and server