From 2dd6923c30aee2e5984a01d08d22382791280dcf Mon Sep 17 00:00:00 2001 From: Matthew Martin Date: Mon, 16 Nov 2015 23:44:47 -0600 Subject: [PATCH] docs: Move highlighter headers down one level --- highlighters/brackets/README.md | 8 +++----- highlighters/cursor/README.md | 8 +++----- highlighters/line/README.md | 8 +++----- highlighters/main/README.md | 8 +++----- highlighters/pattern/README.md | 8 +++----- highlighters/root/README.md | 8 +++----- 6 files changed, 18 insertions(+), 30 deletions(-) diff --git a/highlighters/brackets/README.md b/highlighters/brackets/README.md index 4bb37f4..2865905 100644 --- a/highlighters/brackets/README.md +++ b/highlighters/brackets/README.md @@ -1,20 +1,18 @@ zsh-syntax-highlighting / highlighters / brackets -================================================= +------------------------------------------------- This is the `brackets` highlighter, that highlights brackets and parentheses, and matches them. -How to activate it ------------------- +### How to activate it To activate it, add it to `ZSH_HIGHLIGHT_HIGHLIGHTERS`: ZSH_HIGHLIGHT_HIGHLIGHTERS=( [...] brackets) -How to tweak it ---------------- +### How to tweak it This highlighter defines the following styles: diff --git a/highlighters/cursor/README.md b/highlighters/cursor/README.md index 470dd0d..fcfb6f6 100644 --- a/highlighters/cursor/README.md +++ b/highlighters/cursor/README.md @@ -1,19 +1,17 @@ zsh-syntax-highlighting / highlighters / cursor -=============================================== +----------------------------------------------- This is the `cursor` highlighter, that highlights the cursor. -How to activate it ------------------- +### How to activate it To activate it, add it to `ZSH_HIGHLIGHT_HIGHLIGHTERS`: ZSH_HIGHLIGHT_HIGHLIGHTERS=( [...] cursor) -How to tweak it ---------------- +### How to tweak it This highlighter defines the following styles: diff --git a/highlighters/line/README.md b/highlighters/line/README.md index 781cf26..dc6c35f 100644 --- a/highlighters/line/README.md +++ b/highlighters/line/README.md @@ -1,19 +1,17 @@ zsh-syntax-highlighting / highlighters / line -============================================= +--------------------------------------------- This is the `line` highlighter, that highlights the whole line. -How to activate it ------------------- +### How to activate it To activate it, add it to `ZSH_HIGHLIGHT_HIGHLIGHTERS`: ZSH_HIGHLIGHT_HIGHLIGHTERS=( [...] line) -How to tweak it ---------------- +### How to tweak it This highlighter defines the following styles: diff --git a/highlighters/main/README.md b/highlighters/main/README.md index d450ed9..e28f5f3 100644 --- a/highlighters/main/README.md +++ b/highlighters/main/README.md @@ -1,5 +1,5 @@ zsh-syntax-highlighting / highlighters / main -============================================= +--------------------------------------------- This is the `main` highlighter, that highlights: @@ -9,8 +9,7 @@ This is the `main` highlighter, that highlights: * Paths * Strings -How to activate it ------------------- +### How to activate it To activate it, add it to `ZSH_HIGHLIGHT_HIGHLIGHTERS`: @@ -19,8 +18,7 @@ To activate it, add it to `ZSH_HIGHLIGHT_HIGHLIGHTERS`: This highlighter is active by default. -How to tweak it ---------------- +### How to tweak it This highlighter defines the following styles: diff --git a/highlighters/pattern/README.md b/highlighters/pattern/README.md index 75290f4..0b7e099 100644 --- a/highlighters/pattern/README.md +++ b/highlighters/pattern/README.md @@ -1,19 +1,17 @@ zsh-syntax-highlighting / highlighters / pattern -================================================ +------------------------------------------------ This is the `pattern` highlighter, that highlights user defined patterns. -How to activate it ------------------- +### How to activate it To activate it, add it to `ZSH_HIGHLIGHT_HIGHLIGHTERS`: ZSH_HIGHLIGHT_HIGHLIGHTERS=( [...] pattern) -How to tweak it ---------------- +### How to tweak it To use this highlighter, associate patterns with styles in the `ZSH_HIGHLIGHT_PATTERNS` array, for example in `~/.zshrc`: diff --git a/highlighters/root/README.md b/highlighters/root/README.md index 8592ef7..c1906be 100644 --- a/highlighters/root/README.md +++ b/highlighters/root/README.md @@ -1,20 +1,18 @@ zsh-syntax-highlighting / highlighters / root -============================================= +--------------------------------------------- This is the `root` highlighter, that highlights the whole line if the current user is root. -How to activate it ------------------- +### How to activate it To activate it, add it to `ZSH_HIGHLIGHT_HIGHLIGHTERS`: ZSH_HIGHLIGHT_HIGHLIGHTERS=( [...] root) -How to tweak it ---------------- +### How to tweak it This highlighter defines the following styles: