lib/sample_cmdlet_patterns/commands/markdown_code.rb
def execute(input: $stdin, output: $stdout)
        name = 'Bobby'

        markdown = <<~MARKDOWN
          ```ruby
          class Greeter
            def hello(name)
              puts "Hello #{name}"
            end
          end
          ```
        MARKDOWN
        parsed = TTY::Markdown.parse(markdown)
        puts parsed

        :gui
      end
# Execute MarkdownCode subcommand taking input from
# a input stream and writing to output stream
#
# sample: output.puts 'OK'
Execute MarkdownCode subcommand taking input from
a input stream and writing to output stream


Execute MarkdownCode subcommand taking input from a input stream and writing to output stream
def execute(input: $stdin, output: $stdout)
        name = 'Bobby'
        markdown = <<~MARKDOWN
          ```ruby
          class Greeter
            def hello(name)
              puts "Hello #{name}"
            end
          end
          ```
        MARKDOWN
        parsed = TTY::Markdown.parse(markdown)
        puts parsed
        :gui
      end
def execute ( input : $stdin , output : $stdout ) name = 'Bobby' markdown = <<~MARKDOWN 
          ```ruby
          class Greeter
            def hello(name)
              puts "Hello  #{ name } "
            end
          end
          ```
         MARKDOWN parsed = TTY :: Markdown . parse ( markdown ) puts parsed :gui end
Execute MarkdownCode subcommand taking input from
a input stream and writing to output stream
Execute MarkdownCode subcommand taking input from a input stream and writing to output stream
input
output