Fossil SCM

Removed manual indents in code examples in the pikchr doc

wyoung 2024-02-18 15:18 trunk
Commit 1ed362da6353d8e5c8eb6aed4387ac1522c2fcd11d9ee7143c2baf4b7880446c
1 file changed +16 -16
+16 -16
--- www/pikchr.md
+++ www/pikchr.md
@@ -22,17 +22,17 @@
2222
```
2323
2424
The diagram above was generated by the following lines of Markdown:
2525
2626
~~~~~
27
- ``` pikchr
28
- arrow right 200% "Markdown" "Source"
29
- box rad 10px "Markdown" "Formatter" "(markdown.c)" fit
30
- arrow right 200% "HTML+SVG" "Output"
31
- arrow <-> down 70% from last box.s
32
- box same "Pikchr" "Formatter" "(pikchr.c)" fit
33
- ```
27
+``` pikchr
28
+arrow right 200% "Markdown" "Source"
29
+box rad 10px "Markdown" "Formatter" "(markdown.c)" fit
30
+arrow right 200% "HTML+SVG" "Output"
31
+arrow <-> down 70% from last box.s
32
+box same "Pikchr" "Formatter" "(pikchr.c)" fit
33
+```
3434
~~~~~
3535
3636
See the [original Markdown source text of this document][4] for an
3737
example of Pikchr in operation.
3838
@@ -91,28 +91,28 @@
9191
So either of these work:
9292
9393
[fcb]: https://spec.commonmark.org/0.29/#fenced-code-blocks
9494
9595
~~~~~~
96
- ~~~ pikchr
97
- arrow; box "Hello" "World!" fit; arrow
98
- ~~~
96
+~~~ pikchr
97
+arrow; box "Hello" "World!" fit; arrow
98
+~~~
9999
100
- ``` pikchr
101
- arrow; box "Hello" "World!" fit; arrow
102
- ```
100
+``` pikchr
101
+arrow; box "Hello" "World!" fit; arrow
102
+```
103103
~~~~~~
104104
105105
For Fossil Wiki, the Pikchr code goes within
106106
`<verbatim type="pikchr"> ... </verbatim>`. Normally `<verbatim>`
107107
content is displayed verbatim. The extra `type="pikchr"` attribute
108108
causes the content to be interpreted as Pikchr and replaced by SVG.
109109
110110
~~~~~~
111
- <verbatim type="pikchr">
112
- arrow; box "Hello" "World!" fit; arrow
113
- </verbatim>
111
+<verbatim type="pikchr">
112
+arrow; box "Hello" "World!" fit; arrow
113
+</verbatim>
114114
~~~~~~
115115
116116
## Extra Arguments In "Pikchr" Code Blocks
117117
118118
Extra formatting arguments can be included in the fenced code block start
119119
--- www/pikchr.md
+++ www/pikchr.md
@@ -22,17 +22,17 @@
22 ```
23
24 The diagram above was generated by the following lines of Markdown:
25
26 ~~~~~
27 ``` pikchr
28 arrow right 200% "Markdown" "Source"
29 box rad 10px "Markdown" "Formatter" "(markdown.c)" fit
30 arrow right 200% "HTML+SVG" "Output"
31 arrow <-> down 70% from last box.s
32 box same "Pikchr" "Formatter" "(pikchr.c)" fit
33 ```
34 ~~~~~
35
36 See the [original Markdown source text of this document][4] for an
37 example of Pikchr in operation.
38
@@ -91,28 +91,28 @@
91 So either of these work:
92
93 [fcb]: https://spec.commonmark.org/0.29/#fenced-code-blocks
94
95 ~~~~~~
96 ~~~ pikchr
97 arrow; box "Hello" "World!" fit; arrow
98 ~~~
99
100 ``` pikchr
101 arrow; box "Hello" "World!" fit; arrow
102 ```
103 ~~~~~~
104
105 For Fossil Wiki, the Pikchr code goes within
106 `<verbatim type="pikchr"> ... </verbatim>`. Normally `<verbatim>`
107 content is displayed verbatim. The extra `type="pikchr"` attribute
108 causes the content to be interpreted as Pikchr and replaced by SVG.
109
110 ~~~~~~
111 <verbatim type="pikchr">
112 arrow; box "Hello" "World!" fit; arrow
113 </verbatim>
114 ~~~~~~
115
116 ## Extra Arguments In "Pikchr" Code Blocks
117
118 Extra formatting arguments can be included in the fenced code block start
119
--- www/pikchr.md
+++ www/pikchr.md
@@ -22,17 +22,17 @@
22 ```
23
24 The diagram above was generated by the following lines of Markdown:
25
26 ~~~~~
27 ``` pikchr
28 arrow right 200% "Markdown" "Source"
29 box rad 10px "Markdown" "Formatter" "(markdown.c)" fit
30 arrow right 200% "HTML+SVG" "Output"
31 arrow <-> down 70% from last box.s
32 box same "Pikchr" "Formatter" "(pikchr.c)" fit
33 ```
34 ~~~~~
35
36 See the [original Markdown source text of this document][4] for an
37 example of Pikchr in operation.
38
@@ -91,28 +91,28 @@
91 So either of these work:
92
93 [fcb]: https://spec.commonmark.org/0.29/#fenced-code-blocks
94
95 ~~~~~~
96 ~~~ pikchr
97 arrow; box "Hello" "World!" fit; arrow
98 ~~~
99
100 ``` pikchr
101 arrow; box "Hello" "World!" fit; arrow
102 ```
103 ~~~~~~
104
105 For Fossil Wiki, the Pikchr code goes within
106 `<verbatim type="pikchr"> ... </verbatim>`. Normally `<verbatim>`
107 content is displayed verbatim. The extra `type="pikchr"` attribute
108 causes the content to be interpreted as Pikchr and replaced by SVG.
109
110 ~~~~~~
111 <verbatim type="pikchr">
112 arrow; box "Hello" "World!" fit; arrow
113 </verbatim>
114 ~~~~~~
115
116 ## Extra Arguments In "Pikchr" Code Blocks
117
118 Extra formatting arguments can be included in the fenced code block start
119

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button