Skip to content

Obsidian comments syntax %% too informal#1132

Description

@superle3

Thank you for your time in completing this issue! 馃檶

What is your suggestion?

Not all cases of how an obsidian comment is explained.
Currently just like #1126 for block comments

x1%%x2
<insert-comments-here>
x3%%x4

its not clear what text (excluding composite syntax/ whitespace and >) can be inserted at all the xs.
its not a comment if x1 contains text which agrees with normal block syntax and the html comment <!-- -->
But unlike html comment, markdown in x4 is rendered as to html comments where its plain text.
For example

<!--
comment
--> _inline markdown_

gets rendered as

_inline markdown_

whereas it gets rendered as
inline markdown
for obsidian comments

Have any context we can refer to?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementIndicates new item to be added to the docs.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions