Thank you so much for working with this! What I have already done is create an exporter that exports to a markdown file. What I have done is create a way to create and edit blog posts in tiddlywiki and then export them for use in the nodejs static site generator eleventy. The tags are used as front matter and need to be in the format described. Originally I was using ‘postTag’ to generate my tags but I have found that most if not all pre made templates use ‘tags’ and it would probably be easier to change things on the tiddlywiki side.
Here is the exporter code:
\define renderContent()
{{{ $(exportFilter)$ ||$:/core/templates/eleventyexport}}}
\end
<<renderContent>>
and here is the template:
`---`
<$fields exclude='text bag created modified modifier revision type published' template='$name$: $value$
'></$fields>`
---
`<$view field="text" format="text" />
```
as you can see I have kept the tags field in the exporter because right now I just use the one tag ‘post’ and that works fine but I need the desired output for multiple tags.
The wiki I have created for this purpose is at My 11ty Blog — drafts and notes for my 11ty blog
Here is what the exported final product looks like.
One idea I had which I will look into when I get up is excluding the default tags field and creating a custom field tagsFoo
and finding a way to drop the Foo
on export.
Thank you again for your consideration!!
edit: oh and it is a single file wiki but I’m just as comfortable transitioning to a node wiki I already have a couple of those as well.