Created a visualization tool: Md to Tid

Based on @dongrentianyu idea, I’ve created a little tool that converts Markdown documents to TID.

The toolkit used includes: Tauri + React + linonetwo’s md-to-tid project.

GitHub repository: GitHub - Zacharia2/md2tid . I’ve released a test version for everyone to try out. The installer is only 2MB, quite compact, haha.

The core functionality is already in place: input the repository path, display a list, and click to convert to output the TID file. The issues encountered include some parsing errors in the AST syntax converter, I’m still figuring out the logic for page updates, state management is a bit unfamiliar, and I haven’t written the custom filename logic to resolve filename conflicts for files with the same name in different paths.

Below is an image of the current progress:


5 Likes

Oh, neat idea. I have recently been converting some PDFs to markdown via a python command line script proccess. Next was getting those into Tiddlywiki. Nice implementation…

2 Likes

@WhiteFall Is there an engllsh version available ?

this is the web version: MD to Tid Wikitext

The Windows APP also tries to implement a functional component approach to make the interface more visually appealing.


Perfect batch conversion

1 Like

Long shot, but do you think a Linux port is possible, or at least compilation instructions? I think all the frontend software you use for this program is cross-platform.

This software utilizes the Tauri framework. Therefore, it is compatible with Linux, but it needs to be compiled on Linux. For Mac, it requires debugging on a Mac computer first before compiling. Tauri currently does not support cross-platform compilation.

Added filter settings

  1. Links and images defined before use can now be used normally.
  2. Footnotes use the <<fnote “note”>> macro provided by the TW-Refnotes plugin
  3. Frontmatter is annotated with code + language.
  4. Support for Obsidian internal links and embeddings (embeddings only support note or image names, not altText or size)
  5. Updated README
1 Like

MD to Tid Wikitext

---
foo: bar
---

# Other markdown

In the Solar System, Mercury[^mercury] and Venus[^venus] have very small tilts.

[^mercury]:
    **Mercury** is the first planet from the Sun and the smallest
in the Solar System.

[^venus]:
    **Venus** is the second planet from
the Sun.


[][label1]
[alt1][label1]

![][label2]
![alt2][label2]

[label1]: https://en.wikipedia.org/wiki/Hobbit#Lifestyle "Hobbit lifestyles"
[label2]: https://obsidian.md/images/banner.png

Release v0.0.6 · Zacharia2/md2tid-app

  1. Update md-to-tid to support more syntax
  2. Provide a completion prompt after batch conversion
  3. Automatically create the target folder if it does not exist