sublime-markdown-extended icon indicating copy to clipboard operation
sublime-markdown-extended copied to clipboard

bash syntax - does not recognize "case"

Open morel666 opened this issue 8 years ago • 0 comments

If you add below as code block with bash syntax, then everything below will be interpreted as bash script, even if you close code block.

case "$1" in
  start)
    start
    ;;
  stop)
    stop
    ;;
  status)
    status
    ;;
  restart)
    stop
    start
    ;;
  *)
    echo "Usage: $0 {start|stop|status|restart}"
esac

morel666 avatar Dec 05 '17 15:12 morel666