Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

strip "%% obsidian comments %%" ? #1

Open
LFSaw opened this issue Sep 16, 2023 · 1 comment
Open

strip "%% obsidian comments %%" ? #1

LFSaw opened this issue Sep 16, 2023 · 1 comment

Comments

@LFSaw
Copy link

LFSaw commented Sep 16, 2023

Hello hello,

thanks a lot for this script, it works really nicely!
I was wondering (just because I had one occurrence of this in the file I was processing) if it would be possible to easily strip

%% obsidian comments %%

by the preprocessor.
Not a major dealbreaker, though, if not :)

thanks again for the script!

@voostindie
Copy link
Owner

I wasn't even aware that '%%' worked as comments in Obsidian...

This is not going to be too easy to support, I'm afraid. The thing is that '%%' works across multiple lines as well as within single lines. And in combinations of the two.

I'll puzzle a bit on this, if I find the time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants