]> sipb.mit.edu Git - ikiwiki.git/blob - doc/bugs/iniline_breaks_toc_plugin.mdwn
markdown bug
[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 > I'm going to close this bug report since it's a markdown bug. --[[Joey]]
26 [[tag done]]
27
28
29 TEST1
30 =====
31
32 TEST2
33 -----
34
35 bla bla bla
36
37  * bl bla
38  * aadsd
39
40 [[toc levels=2]]
41
42 bla bla
43
44 [[table data="""
45 Customer|Amount
46 Fulanito|134,34
47 Menganito|234,56
48 Menganito|234,56
49 """]]
50
51
52 [[wikilink|users]]
53
54 Here's a paragraph.
55
56
57 [[inline pages="users/joey" raw="yes"]]
58
59 bla bla