you are viewing a single comment's thread
view the rest of the comments
[–] 1 point 5 months ago* (last edited 5 months ago) (2 children)

Did you know,

That in markdown

If you put two trailing spaces

At the end of a line,
You can start a new line
with a single line break?

  • source
  • parent
  • hideshow 2 child comments
  • [–] 2 points 5 months ago (1 child)

    One day I will learn about these things.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 2 points 5 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

    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

  • source
  • parent