• Rares Sfirlogea's avatar
    Display slash commands outcome when previewing Markdown · 45e4c665
    Rares Sfirlogea authored
    Remove slash commands from Markdown preview and display their outcome next to
    the text field.
    Introduce new "explanation" block to our slash commands DSL.
    Introduce optional "parse_params" block to slash commands DSL that allows to
    process a parameter before it is passed to "explanation" or "command" blocks.
    Pass path for previewing Markdown as "data" attribute instead of setting
    a variable on "window".
    45e4c665
command_definition_spec.rb 5.68 KB