• Chais@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    2
    ·
    2 months ago

    Quick cheat sheet:

    # heading 1
    ## heading 2
    ###### heading 6
    <!-- comment -->
    *italic*
    _italic_
    **bold**
    __bold__
    ~~strikethrough~~
    `monospace`
    ```
    Code block
    ```
    ```lang
    Code block with language identifier for syntax highlighting
    ```
    

    Renders as:

    heading 1

    heading 2

    heading 6

    <!-- comment --> italic
    italic
    bold
    bold
    strikethrough
    monospace

    Code block
    
    Code block with language identifier for syntax highlighting
    

    My client incorrectly renders the comment, so Lemmy may only support an arbitrary subset of markdown. Also special characters can be prefixed with a backslash to write them literally. For *verbs* and #hashtags