Should anyone in the future come across this. Apparently you can use the RenderCommand to generate static html which have working internal links using using render-type of text/plain and $:/core/templates/static.tiddler.html (I don't know if it works with any other template.)
tiddlywiki --render [!is[system]] "[encodeuricomponent[]addprefix[tiddlers/]addsuffix[.html]]" text/plain "$:/core/templates/static.tiddler.html" On Sunday, May 30, 2021 at 9:23:37 AM UTC-4 Louis Davout wrote: > OK I got the links to work by following > https://www.didaxy.com/exporting-static-sites-from-tiddlywiki-part-1 and > using the deprecated RenderTiddlersCommand not sure yet if it's because > of the parameters or the command itself. Looking further into it. > > > On Saturday, May 29, 2021 at 10:25:36 AM UTC-4 Louis Davout wrote: > >> >> I have TW 5.1.23 running on node. I'm exporting to static html using the >> RenderCommand: >> >> tiddlywiki --render [!is[system]] "[encodeuricomponent[]addsuffix[.html]]" >> >> The internal links generated still have the # like an achor tag. Ex: >> >> In topicA I have a link to topicB ([[topicB]] the html generated for >> topicA has >> >> <a class="tc-tiddlylink tc-tiddlylink-resolves" href="#topicB">topicB</a> >> >> How can I get the links to point to the files? >> >> <a class="tc-tiddlylink tc-tiddlylink-resolves" >> href="#topicB.html">topicB</a> >> >> Thanks. >> > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/3dcbe94a-d523-4a0c-b24c-01588b24c1b4n%40googlegroups.com.

