]> sipb.mit.edu Git - ikiwiki.git/blob - doc/bugs/iniline_breaks_toc_plugin.mdwn
cf8dd62abdf06427e7eb5f5fc17aa50af472b98e
[ikiwiki.git] / doc / bugs / iniline_breaks_toc_plugin.mdwn
1 Hi, I try to make an example to reproduce some bug with inline and toc plugins.
2 My friend uses
3
4     \[[inline pages="users/joey" raw="yes"]]
5
6 to include common snippets in various pages, and it works as advertised, but if toc plugin is used, page is messed up.
7
8 I'll try here to reproduce one example...
9
10 You can see that wikilink is rendered in one line and 'here's paragraph' is not a separate paragraph.
11
12 All this is displayed correctly if toc is removed.
13
14 > Thanks for the clear explanation and example. This is a bug in markdown.
15 > Version 1.0.1 gets confused by the toc div, which is followed by a few
16 > lines of markdown, and then by a second div for the inlined page. It
17 > doesn't convert the markdown in the middle to html.
18
19 > I've tested with markdown 1.0.2 and it seems to render this ok. 1.0.2 has
20 > a much improved parser, which is known to fix several block-related
21 > problems, including this one. It is currently packaged in experimental in
22 > Debian, and I suggest you give it a try if you're experiencing this
23 > problem.
24
25 > (Actually, this seems closely related to the problem described
26 > [here](http://bugs.debian.org/421843).
27
28 > I'm going to close this bug report since it's a markdown bug. --[[Joey]]
29 [[tag done]]
30
31
32 TEST1
33 =====
34
35 TEST2
36 -----
37
38 bla bla bla
39
40  * bl bla
41  * aadsd
42
43 [[toc levels=2]]
44
45 bla bla
46
47 [[table data="""
48 Customer|Amount
49 Fulanito|134,34
50 Menganito|234,56
51 Menganito|234,56
52 """]]
53
54
55 [[wikilink|users]]
56
57 Here's a paragraph.
58
59
60 [[inline pages="users/joey" raw="yes"]]
61
62 bla bla