[Feature Request] Create tag to partially ignore content within a file.
I'm a DND dungeon master and often find myself wanting to hide only some information within a file. Here is an example of how it could look.
# Interesting Title
Here is some information I want to be exported.
%% BEGIN-EXPORT-IGNORE %%
Here is some information I want hidden.
%% END-EXPORT-IGNORE %%
Here is some other public info.
If I could get a green light from the maintainer id be happy to start working on a PR. I imagine this should be pretty simple.
In order to accept and incorporate something like this (which I am not at all opposed to in principle), I would prefer to first see generic support for Obsidian's comment syntax, which has been on my wishlist for quite some time, but so far never took the time to try and implement.
Specifically, I would be thinking of two (three?) modes, where either:
- Comments are dropped entirely.
- Comments are converted to
<!-- HTML comments --> - (Comments are left as-is, like now?)
That alone might perhaps even reasonably solve what you're trying to accomplish? If not, after that's supported, I would not mind exploring ways to use comment markers to add more processing logic.