With the release of 10.13, comments are supported by the use of %% This is a comment %%
This is a very welcome addition! However, in the original feature request thread for it, a discussion emerged (triggered by me) about matching compatibility with Ulysses’s comment syntax, which has two types of comments:
%% This is a block level comment, Markdown-style to match ##
%% It does not require closing, only %% at the start.
%%
%% It easily allows for multi-line comments with blank lines.
Currently in Obsidian, the above example would output this:
It does not require closing, only %% at the start.
It easily allows for blank lines within comments.
Ulysses supports comments exactly the way Obsidian currently does them, as wrapped with inline support, but using ++
as demarcator:
This paragraph has an ++inline comment++!
That would render as:
This paragraph has an !
This is a feature request to match that behavior, which would involve changing the demarcator for comments from %%
to ++
, and adding support for block level comments using %%
at the start of a line. (It allows and ignores whitespace before it, which would get output but does not break the comment.)