class CommonMarker::CustomHtmlRenderer
Public Instance Methods
tasklist(node)
click to toggle source
# File lib/common_marker/custom_html_render.rb, line 2 def tasklist(node) return '' unless tasklist?(node) state = if checked?(node) 'checked="" disabled=""' else 'disabled=""' end " class=\"task-list-item\"><input type=\"checkbox\" #{state} /" end