mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
838056fe18
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. |
||
---|---|---|
.. | ||
cmds | ||
python_docs_theme | ||
commands.rst | ||
completions.rst | ||
conf.py | ||
design.rst | ||
faq.rst | ||
fish_for_bash_users.rst | ||
fish_indent_lexer.py | ||
fish_synopsis.py | ||
index.rst | ||
interactive.rst | ||
language.rst | ||
license.rst | ||
relnotes.rst | ||
tutorial.rst |