From cb6d5d76c8232264f66c9a1db895d9dd69d77bc3 Mon Sep 17 00:00:00 2001 From: Mark Griffiths Date: Mon, 4 Apr 2016 13:43:37 +0100 Subject: update lexicon for latest docs Closes #2699 Fixes issues with: * 'string' function synopsis * Redirection display issues * Better file & path detection * Rendering of % & @ chars in both html and man * @ symbol in tutorial Improves robustness by implementing an @EOL marker to prevent hold buffer dumping extra chars after the end of an expression. Added new '{{' and '}}' meta-chars for when you want curly braces in a regexp that was previously tripping up the lexicon. Improve man/html presentation consistency for * string * printf * prompt_pwd * type Use cli-styling for 'practical' examples. Add tag for presenting content with preceding backslash. Signed-off-by: Mark Griffiths --- doc_src/FORMATTING.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'doc_src/FORMATTING.md') diff --git a/doc_src/FORMATTING.md b/doc_src/FORMATTING.md index 0ae1c81e..df6de6f8 100644 --- a/doc_src/FORMATTING.md +++ b/doc_src/FORMATTING.md @@ -160,6 +160,8 @@ The following can be used in \\fish blocks to render some fish scenarios. These - ``: \This would be shown as an error.\ - ``: \This test will not be parsed for fish markup.\ - ``: \This would be rendered as command/script output.\ +- ``: Render the contents with a preceding backslash. Useful when presenting output. +- `{{` and `}}`: Required when wanting curly braces in regular expression example. ### Prompts and cursors -- cgit v1.2.3