this post was submitted on 13 Sep 2023
686 points (97.6% liked)

Programmer Humor

32568 readers
473 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
[–] [email protected] 5 points 1 year ago (2 children)

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

[–] [email protected] 2 points 1 year ago (1 children)

Arent they straight up HTML being specially formatted?

[–] [email protected] 8 points 1 year ago (1 children)
[–] [email protected] -1 points 1 year ago

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

[–] fibojoly 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.

[–] [email protected] 2 points 1 year ago

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

Thanks for the heads-up!