Module: MQ
- Defined in:
- lib/mq.rb
Defined Under Namespace
Classes: ConversionOptions, Error, Options
Class Method Summary collapse
-
.html_to_markdown(content, options = nil) ⇒ String
Convert HTML to Markdown.
-
.run(code, content, options = nil) ⇒ Result
Run an mq query on the provided content.
Class Method Details
.html_to_markdown(content, options = nil) ⇒ String
Convert HTML to Markdown
65 66 67 68 |
# File 'lib/mq.rb', line 65 def html_to_markdown(content, = nil) = &.to_h _html_to_markdown(content, ) end |
.run(code, content, options = nil) ⇒ Result
Run an mq query on the provided content
55 56 57 58 |
# File 'lib/mq.rb', line 55 def run(code, content, = nil) = &.to_h _run(code, content, ) end |