.md file conflict + hiding tags

Greetings.

I’ve recently (sadly) learned that .md not only does stand for '“Markdown” files, but also for “Mega Drive” games. This usually wouldn’t be an issue, except for the fact that Obsidian reads it as markdown and, oddly enough, lets me edit and modify its code:

This isn’t a big deal for itself; just skip the game and don’t open it. That would be the case, but it’ll be a mess while trying to open it via Obsidian. I’m aware there are plugins that let you open the files using external software, but that comes with those other software’s own limitations — but that’s not really what we’re going down here about.

The REAL problem is that it has completely messed up my tags pane. Here are just a bunch of them:

What I’m trying to do

Hide them tags, just specifically for this file. Now, I did some extensive research prior posting this and no one seems to have experienced the same issue that I’m facing right now (not that I expect others to be messing around with Markdown and Mega Drive too, of course..).

Tag editing or nesting is not available by any means since I can’t mess with the file itself. Moving the file outside of the vault won’t work for me either.

Things I have tried

  • Renaming the file: corrupts it.
  • Workarounds: plugins, css; nothing seems to work.

There’s.. not much you can do with this, honestly.

You are well aware as I am that simply blocking .md 's ia not an option, and hiding specific tags is a topic that’s been requested over and over again by the community, without getting any response by the devs.


Appreciate you reading all this and thanks in advance.
Best regards, Z

You could try Settings > Files & Links > Excluded Files but I don’t think it will work.

What are you using to rename the files? Obsidian, or your system file manager, or what?

1 Like

Maybe the “File Ignore” plugin would work?: GitHub - Feng6611/Obsidian-File-Ignore: An Obsidian plugin that controls file indexing by managing dot prefixes on files/folders to truly hide/exclude them, providing a .gitignore-like experience.

2 Likes

Thanks! This did work, and I’m actually surprised I couldn’t find this option when I first started looking into this issue.

Quick clarification: I meant to say renaming the extension, not the file’s name itself. My bad.

Files were being renamed using the system’s own file manager, yeah. Mega Drive files not only come in .md, but also in .smd and .gen. Thought replacing .md with any of these options would do the job, but that not only makes the file unreadable, but also (in my experience) corrupts it.

Excluding the file hides it from the tags pane, which was my main issue. Since Obsidian doesn’t work as a Mega Drive emulator (yet!), linking it still opens the file externally. Just a small note, in case someone else needs it in the future :slight_smile:

Thank you, once again, and have a nice week!

1 Like

Thanks! The “excluded files” option worked for me, but this one looks like it takes it to the next level. Will for sure take a deeper look into this one, so appreciate you putting this one in my radar.

Thanks again and have a nice week!