Bumping in the hope someone clever sees it. On Friday, 13 August 2021 at 18:20:25 UTC+1 Shareda wrote:
> Hello! I need to unify links in my tiddlers stored in md files (TW on > Node.js) with external storage of markdown files (Obsidian vault). Now I > use default TiddlyWiki 5.1.23 system tiddlers an settings. > > I've set $:/config/FileSystemExtensions > <https://tiddlywiki.com/#%24%3A%2Fconfig%2FFileSystemExtensions> to .md > and got fine .md files containing text of my tiddlers. But now I need to > find a way to convert the link syntax from [[text|link]] to [[link|text]] > before saving md files. And convert it back when read md files to my > TiddlyWiki. > > Please, help me to find a way to do so! > > There is an interesting line in boot.js: > > $tw.utils.registerFileType("text/markdown","utf8",[".md",".markdown"],{deserializerType:"text/x-markdown"}); > > > Maybe I need some custom "deserializer"? > I don't understand where and what should I do :^) > > -- 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/d38397a3-ad86-4658-85f6-2b85ea5ef3a7n%40googlegroups.com.

