TIL what quotation dashes are.
Comment on (☞゚ヮ゚)☞
lmmarsano@lemmynsfw.com 1 day 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 17 hours ago
muhyb@programming.dev 1 day 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 day 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 day 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 day ago
So breaking accessibility for the heck of it? How forward-thinking.
muhyb@programming.dev 1 day ago
How is it breaking accessibility?
lmmarsano@lemmynsfw.com 1 day 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.