this post was submitted on 13 Sep 2023
665 points (97.7% liked)

Programmer Humor

32443 readers
687 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] lord_ryvan@ttrpg.network 5 points 1 year ago (2 children)

docx are mostly markup language, actually. Much like SVGs and PDFs.

[–] Appoxo@lemmy.dbzer0.com 2 points 1 year ago (1 children)

Arent they straight up HTML being specially formatted?

[–] cymor@midwest.social 8 points 1 year ago (1 children)
[–] lord_ryvan@ttrpg.network -1 points 1 year ago

And HTML is a lot like it, all of them are Markup Language.

[–] fibojoly@sh.itjust.works 1 points 1 year ago (1 children)

No. The Office ???x files are archives. Inside them you can find folders with resources. Among those, you can find files written in markup languages.

Not quite the same thing.

Just rename your .docx file as .zip to check its contents.

[–] lord_ryvan@ttrpg.network 2 points 1 year ago

Ah, last time I checked it was a kind of ML directly (XML, I'm guessing from cymor@midwest.social their comment), but that's back in Office 2016's time, so things might have changed.

Thanks for the heads-up!