]> sipb.mit.edu Git - ikiwiki.git/blob - doc/bugs/iniline_breaks_toc_plugin.mdwn
Merge remote-tracking branch 'remotes/smcv/ready/git-push-origin-master'
[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 >> thanks, that fixes it.
32
33
34 TEST1
35 =====
36
37 TEST2
38 -----
39
40 bla bla bla
41
42  * bl bla
43  * aadsd
44
45 [[!toc levels=2]]
46
47 bla bla
48
49 [[!table data="""
50 Customer|Amount
51 Fulanito|134,34
52 Menganito|234,56
53 Menganito|234,56
54 """]]
55
56
57 [[wikilink|users]]
58
59 Here's a paragraph.
60
61
62 [[!inline pages="users/joey" raw="yes"]]
63
64 bla bla