require "redcarpet" module Methan class MdRenderer < ::Redcarpet::Render::HTML def list_item(text, list_type) tag = "" text = text.gsub(r, '') text = "#{input_tag} #{text}" tag << " class=\"task-item\"" end tag << ">#{text}" return tag end end end