Change my mind.

  • twinnie@feddit.uk
    link
    fedilink
    arrow-up
    4
    arrow-down
    1
    ·
    16 hours ago

    Markdown is so annoying. I wanted to record a command in Joplin and had the audacity to make it bold to highlight something. Pasted it into their terminal and it put a bunch of asterisks in. Thanks.

    • trem@lemmy.blahaj.zone
      link
      fedilink
      arrow-up
      1
      ·
      6 hours ago

      Hmm, interesting. I always write Markdown unformatted, so where I put the asterisks in myself. So, that’s a decent reality check, I guess.

      • trem@lemmy.blahaj.zone
        link
        fedilink
        arrow-up
        1
        ·
        6 hours ago

        If they wanted to make a specific part of the command bold, that still wouldn’t work.

        Could underline the part, I guess, like this:

        ls -la
           ###
        

        (# starts a comment in shell syntax, so doesn’t get run, in case someone pastes the whole thing.)

    • ChaoticNeutralCzech@feddit.org
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      15 hours ago

      It does format text in the editor pane by default now but uses a big warning with a button to disable it.

      However, the built-in code highlighter, much
      like in many Lemmy frontends, highlights
      some words/symbols depending on the default
      language. Therefore, it's best to not use 
      4 spaces at the start of each line for a code block.
      
      Instead, this one starts with "```text" and 
      ends with "```". No extra indents and I get
      to specify the highlighting language!