added support for inline markdown when "discount" extension is installed