TIL what quotation dashes are.
Comment on (☞゚ヮ゚)☞
lmmarsano@lemmynsfw.com 1 month ago-Why there are pyramids in Egypt?
-Because Brits couldn’t moved them to British Museum.
how to write lists
markdown - Why there are pyramids in Egypt? - Because Brits couldn’t moved them to British Museum.
renders to
> - Why there are pyramids in Egypt?
> - Because Brits couldn’t moved them to British Museum.
Markdown guide is in the toolbar (?⃝) alongside a button for lists.
Doc_Crankenstein@slrpnk.net 1 month ago
muhyb@programming.dev 1 month ago
Well, that’s the reason why I didn’t write it like that. I wanted it to look like a dash, just like in novels.
user224@lemmy.sdf.org 1 month ago
By the way, Markdown also takes escape
\
, which is why sometimes the shrugging emoticon is missing left arm.- So this
- also works with space
So you don’t even necessarily have to leave out the space.
muhyb@programming.dev 1 month ago
Apparently there is already a separate symbol for speech dash, which is —. However its keyboard shortcut is obscure and I couldn’t remember it later, but Markdown already covered this it seems. Writing
—
renders as —, which I’ll do from now on, if I don’t forget about it next time.lmmarsano@lemmynsfw.com 1 month ago
So breaking accessibility for the heck of it? How forward-thinking.
muhyb@programming.dev 1 month ago
How is it breaking accessibility?
lmmarsano@lemmynsfw.com 1 month ago
Good question: for basic accessibility, structure should be conveyed, which adds
The web supports programmatic relationships through correct markup, so the technique using semantic elements to mark up structure applies, specifically by using ol, ul and dl for lists or groups of links or the markdown equivalent.
If you want to experience this yourself, then put on a blindfold, use a screenreader & compare your “list” to mine.