51
submitted 11 months ago by fer0n@lemm.ee to c/technology@beehaw.org
you are viewing a single comment's thread
view the rest of the comments
[-] tal@lemmy.today 3 points 11 months ago* (last edited 11 months ago)

I'd add that I'd like to see a couple changes to Markdown, and would like to see a "Markdown Advanced" that tries to be more like org-mode.

  • Markdown's numbered lists are, IMHO, a mess. Markdown auto-renumbers numbered lists. Having an auto-numbering numbered list feature is a nice idea, but with the syntax used -- where lists often accidentally wind up renumbered -- it is, I think, not a good idea. I've seen a ton of people wind up with mangled quoted numbered lists that they didn't want renumbered and approximately nobody using the syntax for auto-numbering. I think that it'd be neat to do auto-numbering with something like a leading dash, but not where existing numbers are present.

As it is:

2. foo
3. bar

becomes

  1. foo
  2. bar

EDIT: Okay, just noticed that in lemmy's Markdown variant, the auto-renumbering apparently doesn't occur, while it does on Reddit.

  • I think that Markdown's use of parens in link syntax was a mistake, because parens are valid characters in a link, and using them requires escaping the URL. I think that using angle brackets or pretty much any character that isn't used all over in URLs to delimit the URL would have been a better idea.

As it is:

[The Fallout series](https://en.wikipedia.org/wiki/Fallout_%28series%29)

produces

The Fallout series

  • Markdown isn't fully standardized. Lemmy Markdown isn't the same as Reddit Markdown isn't the same as pandoc Markdown. For example, in the above, list, Reddit Markdown supports embedding things like blockquotes in unnumbered list items, and Lemmy Markdown does not. kbin doesn't even have perfectly-intercompatible syntax with Lemmy -- they don't have a common "spoiler text" syntax. You generally get something more-or-less usable as long as you don't use some of the less-common features, but it's really not in a form where I'd be comfortable really advocating for it for document interchange.

"Markdown Advanced"

What I'd like to also have is a "Markdown Advanced". Today, I use org-mode as a marked-up text format that can do a lot of useful things (to-do lists as a first-order concept, calendar-integrated deadlines, inline spreadsheets that can update when values update, etc). Markdown can't do that. But org-mode was developed for emacs, and while I understand that vim and probably some other editors have partial implementations, it was not standardized. I think that for org-mode, that's probably a good thing -- it lets the format be easily-extended. But it kills org-mode for document interchange -- it's only useful for stuff that you plan to keep to yourself, where you can ensure that you're using the same program to read and write it. I'd like to see a marked-up text format that has these features and has a frozen, fully-specified, syntax, so that many programs can read and write it.

this post was submitted on 30 Nov 2023
51 points (100.0% liked)

Technology

37703 readers
242 users here now

A nice place to discuss rumors, happenings, innovations, and challenges in the technology sphere. We also welcome discussions on the intersections of technology and society. If it’s technological news or discussion of technology, it probably belongs here.

Remember the overriding ethos on Beehaw: Be(e) Nice. Each user you encounter here is a person, and should be treated with kindness (even if they’re wrong, or use a Linux distro you don’t like). Personal attacks will not be tolerated.

Subcommunities on Beehaw:


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 2 years ago
MODERATORS