From c45217c5791d9a6a6d1c61b3b8b6c9f8868519c5 Mon Sep 17 00:00:00 2001 From: Tomas Granlund Date: Sat, 24 Apr 2021 11:16:12 +0200 Subject: [PATCH] fixed the readme --- README.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 2c92973..88f1341 100644 --- a/README.md +++ b/README.md @@ -38,9 +38,11 @@ Clang is the most accessible C compiler for windows users and the one I use, but Each line in the tree file is parsed in the following way: 1. The number of `<` characters at the beginning of the line is the depth of the nav entry. 2. The first non-`<` character is the start of the Title of the nav entry. -3. The last sequence of non-whitespace characters before the newline is the file entry. This will be interpreted as one of two things: - 1. If the file entry ends with `.md`, the file is parsed as Markdown and the resulting HTML file is the `href` target for this nav entry. - 2. Otherwise the file entry is directly interpreted as the `href` target for this nav entry. +3. The last sequence of non-whitespace characters before the newline is the file entry. + +The file entry will be interpreted as one of two things: +1. If the file entry ends with `.md`, the file is parsed as Markdown and the resulting HTML file is the `href` target for this nav entry. +2. Otherwise the file entry is directly interpreted as the `href` target for this nav entry. The file given to `-h` must contain two occurrences of `%s`, where the first will be replaced by the note's title, and the second with the site's nav. @@ -66,7 +68,7 @@ Example `head.html`: ``` Example `foot.html`: -````html +```html