Custom viewer UI for certain markdown files

Hello everyone,

I am currently playing around with a few proof-of-concept approaches to test a plugin idea.
In short, what I want to do is display a special UI if a note has a certain property.

I have searched through the docs and also found some threads* but most of it is concerned with displaying a different viewer for a different file type like e.g. .png, which is reasonable.

However, ideally I would want my plugin to use normal .md files as data storage. This allows me to display the nice UI when the plugin is installed and enabled but the user keeps all their data in markdown files when they choose to disable or uninstall the plugin. Also, I am not implementing an existing file format, so it would be a waste to make up a custom format when I can just use plain Markdown for better compatibility.

I have seen that obsidian-kanban achieves this but it seems to implement this with a lot of monkey-patching. Is this still the best possible way or have there been any advancements in the plugin API that I did not find?

Thanks in advance!

* can’t post links. /t/creating-a-viewer-for-a-custom-file-type-jupyter/80451/3

Now you can.

The link you wanted to post:

1 Like