Obsidian plugin that gives you the power of Dataview, but generates Markdown, making it compatible with Obsidian Publish, and making the links appear on the Graph
MIT License
29
stars
2
forks
source link
Switch to HTML comments to avoid unintended side-effects #2
Currently, we use Markdown comments %% ... %% to isolate and recognize queries to serialize and serialized queries.
The problem is that when queries contain tags, those become associated with the note, which is not the goal.
For example:
%% QueryToSerialize: LIST FROM #oops%%
If a note contains the above query, then the note will be part of the list of notes tagged with #oops.
As an alternative, we could use HTML comments:
<!-- QueryToSerialize: LIST FROM #oops -->
And
<!-- SerializedQuery: LIST FROM #oops -->
<!-- SerializedQuery END -->
It shouldn't have a big impact on the implementation, and would be cleaner.
Currently, we use Markdown comments
%% ... %%
to isolate and recognize queries to serialize and serialized queries. The problem is that when queries contain tags, those become associated with the note, which is not the goal.For example:
If a note contains the above query, then the note will be part of the list of notes tagged with
#oops
.As an alternative, we could use HTML comments:
And
It shouldn't have a big impact on the implementation, and would be cleaner.