Change my mind.

      • ilinamorato@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        2 months ago

        My only objection to that is that its source code isn’t easily human-readable, like Markdown’s is. The point of an .md file is that a human and a computer can both parse it just as easily as a native format.

          • ilinamorato@lemmy.world
            link
            fedilink
            arrow-up
            1
            ·
            2 months ago

            No. The primary purpose of programming languages is to be machine-readable first, human-readable second. The primary purpose of both markdown and plaintext is to be equally readable by both humans and machines.

            • Fmstrat@lemmy.world
              link
              fedilink
              arrow-up
              2
              ·
              2 months ago

              Assembly, perhaps. But not every other language. Every other language’s sole purpose is to be easier than assembly to read by humans, so it can be compiled or translated through an engine into something a machine can read.

              Machines do not read Rust. Machines do not read C++. Machines do not read JavaScript. Humans do.

              • ilinamorato@lemmy.world
                link
                fedilink
                arrow-up
                1
                ·
                edit-2
                2 months ago

                Machines do read Rust. Just because those machines are compiling the Rust code doesn’t mean they aren’t reading it. And every affordance the Rust devs included to make it easier for that compiler to do its job makes it harder for humans to read, but Markdown’s affordances are equally helpful for humans as for computers; and they’re designed to be so because they were adapted from shorthand that was already in use.

  • Štěpán@lemmy.cafe
    link
    fedilink
    English
    arrow-up
    29
    ·
    edit-2
    2 months ago

    you will change you mind yourself when your - key breaks from all the

    --------------------------------------

    HEADINGS

    --------------------------------------

  • andyburke@fedia.io
    link
    fedilink
    arrow-up
    28
    ·
    2 months ago

    I wouldn’t dare try to understand the mind that thinks that Markdown is at all like html. 🤷‍♂️

  • LurkingLuddite@piefed.social
    link
    fedilink
    English
    arrow-up
    6
    ·
    2 months ago

    They’re almost the same thing, so this kinda’ hits like two people arguing over which shitbox $300 car they drive is faster…

  • Omni rizzler@anarchist.nexus
    link
    fedilink
    English
    arrow-up
    4
    ·
    2 months ago

    Ngl plain txt is the best . But not for writing blog . Need something like # for headings and stuff . To make my blog portable i don’t use mardow much just # for heading and # for tag

  • twinnie@feddit.uk
    link
    fedilink
    arrow-up
    5
    arrow-down
    1
    ·
    2 months 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
        ·
        2 months 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
      2 months 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!
      

      Edit: Damn

    • trem@lemmy.blahaj.zone
      link
      fedilink
      arrow-up
      1
      ·
      2 months 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.

  • Dæmon S.@catodon.rocks
    link
    fedilink
    arrow-up
    3
    ·
    2 months ago

    (Trivia: the Assembly code I made for the last panel does work)

    !memes@lemmy.world

    ![The “brain levels” meme.

    First level (small brain): purposefully incorrect HTML (mismatching paragraph and heading tags), Markdown (incorrect hyperlink markup) and a LaTeX error “Extra close brace of missing open brace”.

    Second level (middle-sized brain): nod at the (g)old Windows XP Notepad easter egg in which the phrase “Bush hid the facts” gets converted into UTF-16 mojibake. Then the words “resumé, naiveté, cliché” incorrectly encoded as ISO-8859-2 and viewed as UTF-8 which results in the “invalid character” question mark.

    Third panel (big illuminated brain): a screenshot of objdump showing a functional GNU Assembly code in which the string “Hello world is my 455” is printed to the STDOUT without relying on .data/.bss sections nor relying on labeled addresses, solely by JMPing past the ASCII string the exact amount (22 bytes), right into the instructions for preparing a sys_write syscall for said ASCII string.](https://hel1.your-objectstorage.com/catodon/dee5ced4-a84b-4084-a986-e386194b2bc3.webp)