Whether you’re really passionate about RPC, MQTT, Matrix or wayland, tell us more about the protocols or open standards you have strong opinions on!

  • Dessalines
    link
    fedilink
    89
    edit-2
    2 months ago

    Markdown. Its only in tech-spaces that its preferred, but it should be used everywhere. You can even write full books and academic papers in markdown (maybe with only a few extensions like latex / mathjax).

    Instead, in a lot of fields, people are passing around variants of microsoft word documents with weird formatting and no standardization around headings, quotes, and comments.

    • xigoi
      link
      fedilink
      502 months ago

      Markdown is terrible as a standard because every parser works differently and when you try to standardize it (CommonMark, etc.), you find out that there are a bajillion edge cases, leading to an extremely bloated specification.

      • @[email protected]
        link
        fedilink
        242 months ago

        Agreed in principle, but in practice, I find it’s rarely a problem.

        While editing, we pick an export tool for all editors and stick to it.

        Once the document is stable, we export it to HTML or PDF and it’ll be stable forever.

      • Dessalines
        link
        fedilink
        112 months ago

        Most ppl have settled on Commonmark luckily, including us.

        • TechNom (nobody)
          link
          fedilink
          English
          142 months ago

          Commonmark leaves some stuff like tables unspecified. That creates the need for another layer like GFM or mistletoe. Standardization is not a strong point for markdown.

          • Dessalines
            link
            fedilink
            62 months ago

            I believe commonmark tries to specify a minimum baseline spec, and doesn’t try to to expand beyond that. It can be frustrating bc we’d like to see tables, superscripts, spoilers, and other things standardized, but I can see why they’d want to keep things minimal.

            • TechNom (nobody)
              link
              fedilink
              English
              72 months ago

              Asciidoc is a good example of why everything should be standardized. While markdown has multiple implementations, any document is tied to just one implementation. Asciidoc has just one implementation. But when the standard is ready, you should be able to switch implementations seamlessly.

        • xigoi
          link
          fedilink
          4
          edit-2
          2 months ago

          Have you read the CommonMark specification? It’s very complex for a language that’s supposed to be lightweight.

          • @[email protected]
            link
            fedilink
            22 months ago

            What’s the alternative? We either have everything specified well, or we’ll have a million slightly incompatible implementations. I’ll take the big specification. At least it’s not HTML5.

            • xigoi
              link
              fedilink
              12 months ago

              An alternative would be a language with a simpler syntax. Something like XML, but less verbose.

              • @[email protected]
                link
                fedilink
                22 months ago

                And then we’ll be back to a hundred slightly incompatible versions. You need detailed specifications to avoid that. Why not stick to markdown?

    • southsamurai
      link
      fedilink
      192 months ago

      Man, I’ve written three novels plus assorted shorter form stories in markdown.

      There’s a learning curve, but once you get going, it’s so fluid. The problem is that when it comes time to format for release, you have to convert to something else, and not every word processor can handle markdown. It’s extra work, but worth it, imo.

      • Handles
        link
        fedilink
        English
        82 months ago

        Just set up pandoc and Bob’s your uncle. It’ll convert markdown to anything. You’ll never have to open another word processor.

        • southsamurai
          link
          fedilink
          7
          edit-2
          2 months ago

          Nice! Thanks for the tip!

          Edit: holy shit, how have I never run across that before? That’s a brilliant program right there.

          • Handles
            link
            fedilink
            English
            42 months ago

            Pandoc + [your markdown editor of choice] is magic. Some editors even come with Pandoc as a dependency so you can export to more or less anything from the GUI. I think GhostWriter and Zettlr at least (I honestly can’t be sure, I’ve changed editors so often and now I just have some Pandoc conversion scripts in my file manager menu).

      • Dessalines
        link
        fedilink
        52 months ago

        For sure, I bet full fledged editors like word don’t even let you import it.

        • southsamurai
          link
          fedilink
          22 months ago

          Not correctly, no. Librewriter does a bit better, but still misses some bits

      • @Pacmanlives
        link
        12 months ago

        Silly question why can’t you convert markdown to PDF and pass that to publishers?

        • southsamurai
          link
          fedilink
          42 months ago

          Because it isn’t doc is docx.

          Publishers are pissy about such things. Even self publishing (which is what I do now), the various outlets still have limits to what they will use. Amazon accepts something like three file formats, including their own, and pdf isn’t on the list.

          I could just do pdf for directly giving them away to people, but even then, epub is usually a better pick in terms of readability since that’s the standard for actual books since ereaders tend to display it better than pdfs. Most people reading books via files would be using something that can give a better experience with epub vs pdf.

    • Handles
      link
      fedilink
      English
      62 months ago

      I frigging love markdown for everything!

      • Dessalines
        link
        fedilink
        32 months ago

        My main wishlist for markdown, is a better live collaborative markdown editor. Hedgedoc works, but it’s showing it’s age, and they don’t seem to be getting close to releasing v2.

        Etherpad also has a markdown extension, but it doesn’t import / export that well.

    • CyclohexaneOPM
      link
      fedilink
      62 months ago

      Markdown is awesome, I agree! I did not realize you could extend markdown with anything other than html. The html extension is quite nice to do anything that markdown doesn’t support natively, but I wish there was an easier way to extend markdown. Maybe the ones you listed are what I need.

      • Dessalines
        link
        fedilink
        12 months ago

        Hedgedoc / hackmd support a good amount of extensions out of the box. I think typora and obsidias do also (but not open source).

    • @warmaster
      link
      52 months ago

      Depends on the type of book. Since you need HTML for all non default styles. Therefore, it raises the bar… you need a bit of web dev knowledge which removes the biggest benefit of markdown: simplicity / ease of use.

    • @Aux
      link
      12 months ago

      The problem with Markdown is lack of quality software support. You don’t want to write a book in a text field on GitHub, Lemmy or Reddit. You want to write your book in MS Word or LibreOffice. Existing MD software is, to put it gently, an amazing pile of utter shit. If you’re not a software developer with an MD extension in VS Code, then you won’t use MD for anything.

      • @abruptly8951
        link
        12 months ago

        Obsidian? Also havent used it but logseq

        • @Aux
          link
          12 months ago

          These might work for some, but they’re not exactly an MS Word, aren’t they?

          • @abruptly8951
            link
            12 months ago

            Just as powerful and far less buttons imo. I can write a markdown doc in much less time than a word doc.

            What does word offer that isn’t easier with markdown?

            • @Aux
              link
              12 months ago

              It offers a familiar interface for people who have used it for many years.

              • @abruptly8951
                link
                12 months ago

                Yup, that seems to be about all it’s got going for it