Skip to content

Commit e76bdbc

Browse files
authored
Update P6Wiki.md for Jekyll
1 parent 1f38a3a commit e76bdbc

1 file changed

Lines changed: 16 additions & 12 deletions

File tree

docs/P6Wiki.md

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ The `:multiplot` table accepts the following keys:
1818
This example creates two plots stacked vertically.
1919

2020
#### Fennel
21-
21+
{% raw %}
2222
```fennel
2323
(local fplot (require :fplot))
2424
;; --- Data ---
@@ -40,9 +40,9 @@ This example creates two plots stacked vertically.
4040
{:options {:multiplot {:layout [2 1]
4141
:title "Trigonometric Functions"}}})
4242
```
43-
43+
{% endraw %}
4444
#### Lua
45-
45+
{% raw %}
4646
```lua
4747
require("fennel").install()
4848
local fplot = require("fplot")
@@ -81,6 +81,7 @@ fplot.plot(
8181
}
8282
)
8383
```
84+
{% endraw %}
8485
_(The resulting plot generated by fplot)_
8586

8687
![P6.ex.Plot1](https://i.imgur.com/kj2mDSq.png)
@@ -100,7 +101,7 @@ You can add arbitrary annotations to your plot using the `:labels`, `:arrows`, a
100101
### Example: Annotating a Peak
101102

102103
#### Fennel
103-
104+
{% raw %}
104105
```fennel
105106
(fplot.plot
106107
{:options {:title "Annotated Plot"
@@ -112,9 +113,9 @@ You can add arbitrary annotations to your plot using the `:labels`, `:arrows`, a
112113
:datasets [{:data [[1 2] [3 7] [5 10] [7 6] [9 3]]
113114
:style "linespoints"}]})
114115
```
115-
116+
{% endraw %}
116117
#### Lua
117-
118+
{% raw %}
118119
```lua
119120
fplot.plot({
120121
options = {
@@ -139,6 +140,7 @@ fplot.plot({
139140
}
140141
})
141142
```
143+
{% endraw %}
142144
_(The resulting plot generated by fplot)_
143145

144146
![P6.ex.Plot2](https://i.imgur.com/7PkXI5P.png)
@@ -152,7 +154,7 @@ You can take full control over the axis tic marks using the `:xtics` and `:ytics
152154
### Example: Labeled Tics
153155

154156
#### Fennel
155-
157+
{% raw %}
156158
```fennel
157159
(local fplot (require :fplot))
158160
@@ -165,9 +167,9 @@ You can take full control over the axis tic marks using the `:xtics` and `:ytics
165167
:style "boxes"
166168
:title "Sales"}]})
167169
```
168-
170+
{% endraw %}
169171
#### Lua
170-
172+
{% raw %}
171173
```lua
172174
require("fennel").install()
173175
local fplot = require("fplot")
@@ -188,6 +190,7 @@ fplot.plot({
188190
}
189191
})
190192
```
193+
{% endraw %}
191194
_(The resulting plot generated by fplot)_
192195

193196
![P6.ex.Plot3](https://i.imgur.com/3yFiUj8.png)
@@ -201,7 +204,7 @@ For features that are not directly exposed by `fplot`, you can use the `:extra-o
201204
### Example: Setting a Custom Fill Style
202205

203206
#### Fennel
204-
207+
{% raw %}
205208
```fennel
206209
(local fplot (require :fplot))
207210
@@ -213,9 +216,9 @@ For features that are not directly exposed by `fplot`, you can use the `:extra-o
213216
:datasets [{:title "Group A" :data [10 15 12]}
214217
{:title "Group B" :data [12 11 14]}]})
215218
```
216-
219+
{% endraw %}
217220
#### Lua
218-
221+
{% raw %}
219222
```lua
220223
require("fennel").install()
221224
local fplot = require("fplot")
@@ -235,6 +238,7 @@ fplot.plot({
235238
}
236239
})
237240
```
241+
{% endraw %}
238242
_(The resulting plot generated by fplot)_
239243

240244
![P6.ex.Plot4](https://i.imgur.com/0XhFq1n.png)

0 commit comments

Comments
 (0)