#compdef mark
_arguments \
  '--version[print the version]' \
  '--help[show usage]' \
  '--theme[appearance]:mode:(light dark auto)' \
  '--accent[colour theme or #hex]:theme:(cyanotype majesty electric-lime hot-pink teal mono violet magenta amber)' \
  '--layout[initial layout]:layout:(edit split preview)' \
  '--width[render width when not a terminal]:columns:' \
  '--images[how to draw pictures]:mode:(auto blocks kitty iterm off)' \
  '--ascii[ASCII-only drawing]' \
  '--offline[never fetch http(s) images]' \
  '--plain[no colour or escape codes]' \
  '1:command or file:(view doctor)' \
  '*:file:_files'
