aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs/wikilink_in_table.mdwn
blob: f0dc13eaf57db1b108f8be7b1a2c8b0b7f77987a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
I try to create wikilink in table. But it does not work. Here is example:

	\[[table class=table1 data="""
	\[[wikilink_test|index]]
	\[[wikilink_test\|index]]
	[wikilink test](/servers/webmail1)
	"""]]

First two wikilink entries do not work.

The last one is url link and it works but it is not a wikilink. Or maybe it does not matter if I use URL links in stead of wikilinks for local wiki content?

> [[fixed|done]] --[[Joey]]

>> works !! Great!

What exactly is a difference between wikilink and URL reference to the same page ?

> ikiwiki will not be able to track pages linked using urls as having a
> link.

Trying to report this I found something weird. I changed in the example [[ with || because wiki renders something wrongly. You can see what I tried originally here:

	\[[table class=table1 data="""
	\[[wikilink_test|servers/webmail1]]
	\[[wikilink_test|servers/webmail1]]
	[wikilink test](/servers/webmail1)
	"""]]

Please  click edit to see unrendered text. First, it is not monospace-d (I have 4 spaces) and second, some wierd html is shown...
Am I doing something wrong ?

> See above for the right way to do it. Note that I also fixed a minor bug
> in ikiwiki to allow this. --[[Joey]]

>> Just curious ... if I wanted to have that block in monospace (four spaces in front of each line), how can I do that ?