if you could pick a standard format for a purpose what would it be and why?
e.g. flac for lossless audio because…
(yes you can add new categories)
summary:
- photos .jxl
- open domain image data .exr
- videos .av1
- lossless audio .flac
- lossy audio .opus
- subtitles srt/ass
- fonts .otf
- container mkv (doesnt contain .jxl)
- plain text utf-8 (many also say markup but disagree on the implementation)
- documents .odt
- archive files (this one is causing a bloodbath so i picked randomly) .tar.zst
- configuration files toml
- typesetting typst
- interchange format .ora
- models .gltf / .glb
- daw session files .dawproject
- otdr measurement results .xml
which markdown implementation tho ?
Oh I'm not brave enough for politics.
You compile your markdown and don't read it raw? /s
unironically a good point tho.
GitLab/Hub obviously. Also it doesn't matter since I don't need to compile it to read it.
I think the best way to go about this would be adopting the CommonMark standard but adding/changing a couple things to really complete it:
anchors/heading identifiers
Creating a heading with a custom identifier:
Creating an anchor/heading identifier (clicking a link to an anchor would navigate the user to whatever block/paragraph contained the anchor):
## the name of my heading {#header-id} {#a-paragraph} Blah blah blah blah. {#list} - blah - blah - blah
Linking to an anchor/heading:
Here's [a link](#list) to my list in my ["the name of my heading"](#header-id) section.
footnotes
Note: The part in brackets is the reference. The part at the bottom is the reference definition.
But we should have it so that if the reference definition is just a link, it's treated as a link reference and presents as a normal link, but otherwise it's treated like a citation and just navigates you to the reference definition.
Example:
I learned about blank[^footnote] after i saw someone mention it on [Lemmy].` [Lemmy]: https://join-lemmy.org/ [^footnote]: Author's name, Date accessed. Title. https://www.example.com/.
tables
in-line strikethrough
superscript
normal^super
is needed (notice how, normally, the notation for all in-line formatting is surrounding text with some special character(s)). Something likenormal^super^
may be better.subscript
normal_sub
. Maybe something likenormal_sub_
? And yes, i know_text_
is sometimes used for italics instead of*text*
, but that's something that just needs to stop honestly.