Ok, so we'll see you back in, um, 20 minutes?
I used org-mode for awhile. But it was too easy to accidentally bleed one entry into another, and there are were (are?) no good Android apps.
For publicity, what's needed is to discover that some prominent politician or celebrity uses TW.
Your best bet is to make a custom lua writer.
pandoc --print-default-data-file sample.lua
will give you a sample lua writer that basically
imitates pandoc's HTML writer. You can modify that
as you see fit. See the manual for instructions
on using lua writers.
--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscribe@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/4b848644-a67e-4cef-8809-862f25680ca0%40googlegroups.com.
Here's where I'm at with using lua filters inside of Pandoc. The script is attached.
I left <spans> as html since TW has no way of doing nested spans and lua-filters doesn't seem to have a way to tell you when you're inside a nested span.
As you can see from the screen shot, without the right classes and context, the output from WP may not play nicely inside of TW.
Probably someone would need to tailor the script for whatever platform they're looking at.
Not sure if it's worth pursuing further, but it was interesting.
function BulletList(items)
local buffer = {}
local name = ""
local cnt = 0
for _, item in pairs(items) do
buffer = {}
name = string.match(item, "([%w%s%.]+),")
if name then
cnt = cnt + 1
buffer = {}
filename= cnt .. ".tid"
table.insert(buffer, "title: " .. name )
table.insert(buffer, "tags: " .. "People" )
table.insert(buffer, "")
table.insert(buffer, item)
local file = io.open(filename, "w")
file:write(table.concat(buffer,"\n"))
file:close()
end
end
return table.concat(buffer)
end