From 9f1be6f1e61d4029f42b2b71b64cdfc3dbe73eb0 Mon Sep 17 00:00:00 2001 From: xHN35RQ Date: Tue, 11 Aug 2015 23:49:11 -0700 Subject: [PATCH] Add example of hash link usage --- docs/usage.md | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/docs/usage.md b/docs/usage.md index 9e152196..58270a89 100644 --- a/docs/usage.md +++ b/docs/usage.md @@ -59,7 +59,22 @@ When you click an external link (which starts with `http://` or `https://`), Shi ### `#hash` link -When you click to the internal link to hash, page simply scrolls to the target. +When you click to the internal link to hash, page simply scrolls to the target. Note that links must be lower-case only. For example, each of these links: + + # Table of Contents + * [Chapter 1](#chapter-1) + * [Section A](#section-a) + * [Section B](#section-b) + * [Chapter 2](#chapter-2) + * [Chapter 3](#chapter-3) + +Will link to each of these headings: + + ## Chapter 1 + ### Section A + ### Section B + ## Chapter 2 + ## Chapter 3 ### Link to local markdown file with modifier key