# frozen_string_literal: true module Redcarpet module Form module Extension module Block # A fieldset with radion buttons # # Ex: (){value="html"} HTML (x){value="css"} CSS (){value="js"} JavaScript #
class RadioButtons def self.pattern /\((x|\s)?\)([{][^}]*[}])?([^{})()]*)/ end def self.default_attributes { 'type' => 'radio', 'name' => '', 'value' => '' } end # rubocop:disable Metrics/MethodLength # rubocop:disable Metrics/AbcSize def self.html(matches) html = '' end # rubocop:enable Metrics/AbcSize # rubocop:enable Metrics/MethodLength end end end end end