fish-shell/doc_src
Fabian Homborg 838056fe18 docs: Remove prompt from multiline commands
If a code block includes a line starting with ">", we assume it shows
an interactive session, all lines starting with ">" are commands and
the rest is output.

Unfortunately, in something like:

```
> for val in $PATh
    echo "entry: $val"
  end

entry: /usr/bin
```

this won't highlight the dangling lines. We could also prefix them
with `>`, but that require us to parse them in blocks or the `end`
would be an error.

So, for now, simply don't give these as a prompt but as a script with
cheesy comments describing the output.
2022-03-11 19:05:26 +01:00
..
cmds docs: omnibus cleanup 2022-03-12 00:21:13 +08:00
python_docs_theme Make a bit wider with less padding 2022-02-27 18:01:29 +01:00
commands.rst Add documentation for prompt_hostname 2021-12-04 10:37:49 +01:00
completions.rst docs: Replace all internal links with :ref:s 2021-03-26 19:32:14 +01:00
conf.py docs synopsis: add HTML highlighing and automate manpage markup 2022-01-19 22:56:41 +08:00
design.rst Docs: Posix -> POSIX 2022-02-14 16:18:16 -08:00
faq.rst Explain the issues of setting fish as login shell 2022-02-18 15:30:57 +01:00
fish_for_bash_users.rst Add documentation for prompt_hostname 2021-12-04 10:37:49 +01:00
fish_indent_lexer.py docs: restore default highlighting keywords and options in HTML 2022-01-16 14:07:19 +01:00
fish_synopsis.py docs synopsis: add HTML highlighing and automate manpage markup 2022-01-19 22:56:41 +08:00
index.rst Explain the issues of setting fish as login shell 2022-02-18 15:30:57 +01:00
interactive.rst Update title documentation 2022-03-06 13:19:29 +01:00
language.rst docs synopses: add space before ellipsis 2022-01-16 14:05:47 +01:00
license.rst Bump copyright year 2022-01-09 23:47:58 +08:00
relnotes.rst docs: call the CHANGELOG "release notes" 2021-02-25 22:46:24 +08:00
tutorial.rst docs: Remove prompt from multiline commands 2022-03-11 19:05:26 +01:00