this post was submitted on 11 Apr 2024
30 points (100.0% liked)

technology

23286 readers
137 users here now

On the road to fully automated luxury gay space communism.

Spreading Linux propaganda since 2020

Rules:

founded 4 years ago
MODERATORS
 

For a long time I hated markdown.

Now I love it.

What do you think?

you are viewing a single comment's thread
view the rest of the comments
[–] ksynwa@lemmygrad.ml 5 points 7 months ago* (last edited 7 months ago) (1 children)

I think overall it's fine but I have two problems with it:

  • the syntax for adding a simple line break feels reallt silly. It involves adding two spaces at the end of a line
  • i still don't know how to do paragraph breaks inside elements of lists. Tbf I don't know if this is supported within html but there have been many times I have wanted to do this.

Personally I prefer org-mode syntax.

According to the creator of pandoc, because of its syntax there are some problems when creating parsers for markdown. He created a new markup language called djot which from my what I could understand is a bit stricter about syntax: https://github.com/jgm/djot

As a rube who loves shiny new things I have always wanted to try out djot but am yet to find good support for it.

[–] glans@hexbear.net 2 points 7 months ago (1 children)

in html you can put <p> or </ br> inside <li>. in markdown you can do it on most places but you have to play around with line breaks and leading spaces. Here this works:

- qqqq

   aaaa 
- zzzz
  • qqqq

    aaaa

  • zzzz

hmm interesting never saw that one.

reading through djot/doc/quickstart-for-markdown-users.md, I see one big issue to implementing somewhere like lemmy right at the top. Needing so many blank lines is annoying in a small textbox/display; you can see less of what you are writing. Sometimes it's convenient to smush stuff together a bit.

[–] ksynwa@lemmygrad.ml 2 points 7 months ago