From abd0895322985dd4a590f3dd96a488f4e4ff87bf Mon Sep 17 00:00:00 2001 From: Adriaan Moors Date: Wed, 26 Mar 2014 20:35:25 -0700 Subject: Fix #6: automatic section numbering. Add chapter number to YAML, which is replace in numbering.css. Use CSS counters for chapters, sections, subsections | examples. Examples are detected by looking at the H3 element's id, which redcarpet derives from the heading's title. It must start with "Example:", and the whole title is suppressed by a little javascript, so we can make Examples look like in the pdf. For example, `### Example:` becomes `Example 3.2.10`, if it's the 10th example in Section 3.2. --- 16-references.md | 1 + 1 file changed, 1 insertion(+) (limited to '16-references.md') diff --git a/16-references.md b/16-references.md index aab189dc3f..d0410e748a 100644 --- a/16-references.md +++ b/16-references.md @@ -1,6 +1,7 @@ --- title: References layout: default +chapter: 14 --- -- cgit v1.2.3