Fossil SCM
Fix documentation so that an example of a referenced footnote definition inside of the fenced code block is not recognized as a real footnote defenition. This demonstrates a subtle gotcha and a possible work-arround of it.
Commit
7229d0f58813d752c573d7fe90c5285b66e50b8c007d6d033581c962aa56eeca
Parent
cae7a5d1cab9b61…
1 file changed
+5
-6
+5
-6
| --- src/markdown.md | ||
| +++ src/markdown.md | ||
| @@ -173,16 +173,15 @@ | ||
| 173 | 173 | > Formats 2, 4 and 5 ("span-specific footnotes") mark a specific fragment |
| 174 | 174 | > that is being commented in the footnote. |
| 175 | 175 | > Format 5 reuses a fragment of text as a label. |
| 176 | 176 | > Labels are case-insensitive. |
| 177 | 177 | |
| 178 | -> | |
| 179 | -``` | |
| 180 | -[^label]: Footnote definition must start on the first column. | |
| 181 | - The second line (if any) must be indented by two or more spaces. | |
| 182 | - Definition continues until indentation drops below that of the 2nd line. | |
| 183 | -``` | |
| 178 | +> ``` | |
| 179 | +> [^label]: Footnote definition must start on the first column. | |
| 180 | +> The second line (if any) must be indented by two or more spaces. | |
| 181 | +> Definition continues until indentation drops below that of the 2nd line. | |
| 182 | +>``` | |
| 184 | 183 | > Charachter **^** is not part of a label, it is part of the syntax. |
| 185 | 184 | > Both a footnote's text and a fragment to which a footnote applies |
| 186 | 185 | > are subject to further interpretation as Markdown sources. |
| 187 | 186 | |
| 188 | 187 | ## Miscellaneous ## |
| 189 | 188 |
| --- src/markdown.md | |
| +++ src/markdown.md | |
| @@ -173,16 +173,15 @@ | |
| 173 | > Formats 2, 4 and 5 ("span-specific footnotes") mark a specific fragment |
| 174 | > that is being commented in the footnote. |
| 175 | > Format 5 reuses a fragment of text as a label. |
| 176 | > Labels are case-insensitive. |
| 177 | |
| 178 | > |
| 179 | ``` |
| 180 | [^label]: Footnote definition must start on the first column. |
| 181 | The second line (if any) must be indented by two or more spaces. |
| 182 | Definition continues until indentation drops below that of the 2nd line. |
| 183 | ``` |
| 184 | > Charachter **^** is not part of a label, it is part of the syntax. |
| 185 | > Both a footnote's text and a fragment to which a footnote applies |
| 186 | > are subject to further interpretation as Markdown sources. |
| 187 | |
| 188 | ## Miscellaneous ## |
| 189 |
| --- src/markdown.md | |
| +++ src/markdown.md | |
| @@ -173,16 +173,15 @@ | |
| 173 | > Formats 2, 4 and 5 ("span-specific footnotes") mark a specific fragment |
| 174 | > that is being commented in the footnote. |
| 175 | > Format 5 reuses a fragment of text as a label. |
| 176 | > Labels are case-insensitive. |
| 177 | |
| 178 | > ``` |
| 179 | > [^label]: Footnote definition must start on the first column. |
| 180 | > The second line (if any) must be indented by two or more spaces. |
| 181 | > Definition continues until indentation drops below that of the 2nd line. |
| 182 | >``` |
| 183 | > Charachter **^** is not part of a label, it is part of the syntax. |
| 184 | > Both a footnote's text and a fragment to which a footnote applies |
| 185 | > are subject to further interpretation as Markdown sources. |
| 186 | |
| 187 | ## Miscellaneous ## |
| 188 |