splitbrain / dokuwiki-plugin-data

Add and query structured data in your DokuWiki
http://www.dokuwiki.org/plugin:data
GNU General Public License v2.0
50 stars 34 forks source link

Wiki syntax not displayed in datatable nor datalist #153

Closed regystro closed 9 years ago

regystro commented 9 years ago

While there's a way to include wiki syntax in dataentry:

---- dataentry test ----
description_wiki    : **Bold text**
----

Once displayed as datatable or datalist, you get this:

**Bold text** instead of what you get when you visit the dataentry page: Bold text

Is there any way to force wiki syntax display in datatable / datalist?

Thank you.

splitbrain commented 9 years ago

What's your syntax for the datalist?

regystro commented 9 years ago
---- dataentry test ----
description_wiki    : **Bold text** Normal text\\ Line 1\\ Line 2
----

Here's the page screenshot: image

---- datatable ----
cols    : description
----

---- datalist ----
cols    : description
----

That's what I get: image

I had 3 table related plugins installed but they are all disabled right now. I disabled all non-core plugins indeed.

DokuWiki Version: Release 2014-09-29b "Hrun" Structured data plugin version: 2015-01-04

splitbrain commented 9 years ago

use this instead:

---- datalist ----
cols    : description_wiki
----
regystro commented 9 years ago

My bad. Totally missed this documentation paragraph:

Like the dataentry, the values in the columns can also be formatted by postfixing the column names with the typealias. Like the deadline_dt column above. Another example shows website, as an url is given label the entries in cols with e.g. _url to enable linking in output.

I had a newbie's focusing problem: my dataentry was previously defined, then I discovered the _wiki formatting option but I forgot to add it to the datalist. Thanks man!!

BTW: great and very useful plugin :+1: