• MonkderVierte@lemmy.zip
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    4 个月前

    Underscores when content contains asterisks

    The file _*.txt_ matches all text files. The pattern __**/*.md__ matches recursively.

    Rationale: This produces cleaner source text by avoiding backslash escapes.

    But does it support backslash escapes? They feel more natural to me and are used pretty much everywhere only for that, while underscores are heavily used as replacement for whitespace (Unix file names).

    And leads to this:

    Underscores in regular text are always escaped, even in the middle of words:

    Use the CONFIG\_FILE\_NAME constant.

    Not my kind of syntax i guess. I’ll stick to Commonmark.