summaryrefslogtreecommitdiff
path: root/app/services/preview_markdown_service.rb
Commit message (Collapse)AuthorAgeFilesLines
* Rename "Slash commands" to "Quick actions"Eric Eastwood2017-06-151-6/+6
| | | | | | | | | | | | | Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/27070 Deprecate "chat commands" in favor of "slash commands" We looked for things like: - `slash commmand` - `slash_command` - `slash-command` - `SlashCommand`
* Display slash commands outcome when previewing Markdownadam-separate-slash-commandsRares Sfirlogea2017-05-041-0/+45
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".