Last active
October 20, 2021 13:23
-
-
Save uriel1998/1636d28af562bb85297041a6b9d450aa to your computer and use it in GitHub Desktop.
Comparison of a simple document in multiple formats
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
########### MARKDOWN ########### | |
Easily readable; you can hand this to someone who has never seen markdown | |
before and they won't have a problem. (You can use underscores instead of | |
asterisks, but I've found asterisks make more intuitive sense | |
to people who aren't familiar with the format.) Filesize 157 bytes. | |
# This is a level one header | |
## This is a level two header | |
### This is a level three header | |
*this is italics* | |
**this is bold** | |
* This | |
* is a | |
* bulleted list. | |
########### HTML ########### | |
It can be read with a plain text editor, but it's distracting as all get out | |
for casual use. Filesize 215 bytes. | |
<h1>This is a level one header | |
<h1>This is a level two header | |
<h1>This is a level three header | |
<em>this is italics</em> | |
<strong>this is bold</strong> | |
<ul> | |
<li>This</li> | |
<li>is a</li> | |
<li>bulleted list.</li> | |
</ul> | |
########### RTF ########### | |
Possible to read with a plain text editor, but as you can see, it's kind | |
of painful. Filesize 2k. | |
{\rtf1\ansi\deflang1033{\fonttbl{\f53\fcharset0 Arial;}{\f2557\fcharset2 Symbol;}{\f2575\fcharset0 Times New Roman;}}{\colortbl;}{\stylesheet{\snext0\f53\fs22\fi0\li0\ri0\ql\widctlpar{\*\stloverrides\f53\fs22\widctlpar} Normal;}{\s1\sbasedon0\snext0\f53\fs28\b\kerning28\fi0\li0\ri0\ql\keepn\widctlpar\sb240\sa60{\*\stloverrides\fs28\b\kerning28\keepn\sb240\sa60\outlinelevel0} heading 1;}{\s2\sbasedon0\snext0\f53\fs24\b\i\fi0\li0\ri0\ql\keepn\widctlpar\sb240\sa60{\*\stloverrides\fs24\b\i\keepn\sb240\sa60\outlinelevel1} heading 2;}{\s3\sbasedon0\snext0\f53\fs22\b\fi0\li0\ri0\ql\keepn\widctlpar\sb240\sa60{\*\stloverrides\b\keepn\sb240\sa60\outlinelevel2} heading 3;}{\*\cs4\additive Default Paragraph Font;}{\*\cs5\additive\sbasedon4\super Footnote Reference;}{\*\cs6\additive\sbasedon4\super Endnote Reference;}}{\*\listtable{\list\listsimple{\listlevel\levelstartat1\levelnfc23\leveljc0{\leveltext \'01\u61623 ?;}{\levelnumbers ;}\levelfollow0\f2557\fi-360\li720}\listid65536}}{\*\listoverridetable{\listoverride\listid65536\listoverridecount0\ls1}}{\*\generator Atlantis Word Processor 3.3.3.0;}{\info{\creatim\yr2021\mo10\dy20\hr8\min45\sec30}{\revtim\yr2021\mo10\dy20\hr8\min46\sec39}{\author crossover}}\htmautsp\useltbaln\alntblind\ftnbj\ftnnar\aenddoc\aftnnrlc\paperw12240\paperh15840\margl1440\margr1440\margt1440\margb1440\pgndec\pgncont\sftnbj\sftnstart1\sftnrstcont\sftnnar\saftnstart1\saftnrstcont\saftnnrlc\sectfullsaved\fet0\pard\plain\f2575\fs24\keepn\nowidctlpar\widctlpar\sb240\sa60\s1\f53\fs28\b\kerning28 This is a level one header\ | |
\s2\fs24\i\kerning0 This is a level two header\ | |
\s3\fs22\i0 This is a level three header\ | |
\pard\nowidctlpar\widctlpar\b0\ | |
\i this is italics\ | |
\b\i0 this is bold\b0\ | |
\ | |
{\listtext\pard\plain\f2575\fs24\jclisttab\tx720\f2557\fs22\u-3913?\f53\tab}\fi-360\li720\jclisttab\tx720\ls1 This\ | |
{\listtext\pard\plain\f2575\fs24\jclisttab\tx720\f2557\fs22\u-3913?\f53\tab}is a\ | |
{\listtext\pard\plain\f2575\fs24\jclisttab\tx720\f2557\fs22\u-3913?\f53\tab}bulleted list.\ | |
\pard\nowidctlpar\widctlpar\ | |
} | |
########### DOC ########### | |
Effectively unreadable with just a text editor; while the text is in there, | |
there is binary data that means I cannot cut and paste it here. Without a | |
converter or word processor, you've got a VERY tough job ahead of you. | |
Filesize is 10.5k. | |
########### ODT ########### | |
Unreadable with just a text editor - these formats have styled XML | |
(content.xml) inside a compressed archive. Additionally, the specifics of | |
the styles may be held in a different file than the document itself. | |
What is below is the extracted document.xml. Filesize of the archive | |
is 10.6k, and the uncompressed content.xml is 8.9k. | |
<?xml version="1.0" encoding="UTF-8"?> | |
<office:document-content xmlns:officeooo="http://openoffice.org/2009/office" xmlns:css3t="http://www.w3.org/TR/css3-text/" xmlns:grddl="http://www.w3.org/2003/g/data-view#" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:rpt="http://openoffice.org/2005/report" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0" xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0" xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0" xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0" xmlns:oooc="http://openoffice.org/2004/calc" xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0" xmlns:ooow="http://openoffice.org/2004/writer" xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0" xmlns:ooo="http://openoffice.org/2004/office" xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0" xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0" xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0" xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2" xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0" xmlns:tableooo="http://openoffice.org/2009/table" xmlns:drawooo="http://openoffice.org/2010/draw" xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0" xmlns:dom="http://www.w3.org/2001/xml-events" xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:math="http://www.w3.org/1998/Math/MathML" xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0" xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0" xmlns:xforms="http://www.w3.org/2002/xforms" office:version="1.3"><office:scripts/><office:font-face-decls><style:font-face style:name="OpenSymbol" svg:font-family="OpenSymbol" style:font-charset="x-symbol"/><style:font-face style:name="Lucida Sans1" svg:font-family="'Lucida Sans'" style:font-family-generic="swiss"/><style:font-face style:name="Liberation Serif" svg:font-family="'Liberation Serif'" style:font-family-generic="roman" style:font-pitch="variable"/><style:font-face style:name="Liberation Sans" svg:font-family="'Liberation Sans'" style:font-family-generic="swiss" style:font-pitch="variable"/><style:font-face style:name="Lucida Sans" svg:font-family="'Lucida Sans'" style:font-family-generic="system" style:font-pitch="variable"/><style:font-face style:name="Noto Sans CJK SC" svg:font-family="'Noto Sans CJK SC'" style:font-family-generic="system" style:font-pitch="variable"/><style:font-face style:name="Noto Serif CJK SC" svg:font-family="'Noto Serif CJK SC'" style:font-family-generic="system" style:font-pitch="variable"/></office:font-face-decls><office:automatic-styles><style:style style:name="P1" style:family="paragraph" style:parent-style-name="Standard"><style:text-properties fo:font-style="italic" style:font-style-asian="italic" style:font-style-complex="italic"/></style:style><style:style style:name="P2" style:family="paragraph" style:parent-style-name="Standard"><style:text-properties fo:font-weight="bold" style:font-weight-asian="bold" style:font-weight-complex="bold"/></style:style><style:style style:name="P3" style:family="paragraph" style:parent-style-name="Standard" style:list-style-name="L1"/><text:list-style style:name="L1"><text:list-level-style-bullet text:level="1" text:style-name="Bullet_20_Symbols" text:bullet-char="•"><style:list-level-properties text:list-level-position-and-space-mode="label-alignment"><style:list-level-label-alignment text:label-followed-by="listtab" text:list-tab-stop-position="0.5in" fo:text-indent="-0.25in" fo:margin-left="0.5in"/></style:list-level-properties></text:list-level-style-bullet><text:list-level-style-bullet text:level="2" text:style-name="Bullet_20_Symbols" text:bullet-char="◦"><style:list-level-properties text:list-level-position-and-space-mode="label-alignment"><style:list-level-label-alignment text:label-followed-by="listtab" text:list-tab-stop-position="0.75in" fo:text-indent="-0.25in" fo:margin-left="0.75in"/></style:list-level-properties></text:list-level-style-bullet><text:list-level-style-bullet text:level="3" text:style-name="Bullet_20_Symbols" text:bullet-char="▪"><style:list-level-properties text:list-level-position-and-space-mode="label-alignment"><style:list-level-label-alignment text:label-followed-by="listtab" text:list-tab-stop-position="1in" fo:text-indent="-0.25in" fo:margin-left="1in"/></style:list-level-properties></text:list-level-style-bullet><text:list-level-style-bullet text:level="4" text:style-name="Bullet_20_Symbols" text:bullet-char="•"><style:list-level-properties text:list-level-position-and-space-mode="label-alignment"><style:list-level-label-alignment text:label-followed-by="listtab" text:list-tab-stop-position="1.25in" fo:text-indent="-0.25in" fo:margin-left="1.25in"/></style:list-level-properties></text:list-level-style-bullet><text:list-level-style-bullet text:level="5" text:style-name="Bullet_20_Symbols" text:bullet-char="◦"><style:list-level-properties text:list-level-position-and-space-mode="label-alignment"><style:list-level-label-alignment text:label-followed-by="listtab" text:list-tab-stop-position="1.5in" fo:text-indent="-0.25in" fo:margin-left="1.5in"/></style:list-level-properties></text:list-level-style-bullet><text:list-level-style-bullet text:level="6" text:style-name="Bullet_20_Symbols" text:bullet-char="▪"><style:list-level-properties text:list-level-position-and-space-mode="label-alignment"><style:list-level-label-alignment text:label-followed-by="listtab" text:list-tab-stop-position="1.75in" fo:text-indent="-0.25in" fo:margin-left="1.75in"/></style:list-level-properties></text:list-level-style-bullet><text:list-level-style-bullet text:level="7" text:style-name="Bullet_20_Symbols" text:bullet-char="•"><style:list-level-properties text:list-level-position-and-space-mode="label-alignment"><style:list-level-label-alignment text:label-followed-by="listtab" text:list-tab-stop-position="2in" fo:text-indent="-0.25in" fo:margin-left="2in"/></style:list-level-properties></text:list-level-style-bullet><text:list-level-style-bullet text:level="8" text:style-name="Bullet_20_Symbols" text:bullet-char="◦"><style:list-level-properties text:list-level-position-and-space-mode="label-alignment"><style:list-level-label-alignment text:label-followed-by="listtab" text:list-tab-stop-position="2.25in" fo:text-indent="-0.25in" fo:margin-left="2.25in"/></style:list-level-properties></text:list-level-style-bullet><text:list-level-style-bullet text:level="9" text:style-name="Bullet_20_Symbols" text:bullet-char="▪"><style:list-level-properties text:list-level-position-and-space-mode="label-alignment"><style:list-level-label-alignment text:label-followed-by="listtab" text:list-tab-stop-position="2.5in" fo:text-indent="-0.25in" fo:margin-left="2.5in"/></style:list-level-properties></text:list-level-style-bullet><text:list-level-style-bullet text:level="10" text:style-name="Bullet_20_Symbols" text:bullet-char="•"><style:list-level-properties text:list-level-position-and-space-mode="label-alignment"><style:list-level-label-alignment text:label-followed-by="listtab" text:list-tab-stop-position="2.75in" fo:text-indent="-0.25in" fo:margin-left="2.75in"/></style:list-level-properties></text:list-level-style-bullet></text:list-style></office:automatic-styles><office:body><office:text><text:sequence-decls><text:sequence-decl text:display-outline-level="0" text:name="Illustration"/><text:sequence-decl text:display-outline-level="0" text:name="Table"/><text:sequence-decl text:display-outline-level="0" text:name="Text"/><text:sequence-decl text:display-outline-level="0" text:name="Drawing"/><text:sequence-decl text:display-outline-level="0" text:name="Figure"/></text:sequence-decls><text:h text:style-name="Heading_20_1" text:outline-level="1">This is a level one header</text:h><text:h text:style-name="Heading_20_2" text:outline-level="2">This is a level two header</text:h><text:h text:style-name="Heading_20_3" text:outline-level="3">This is a level three header</text:h><text:p text:style-name="Standard"/><text:p text:style-name="P1">this is italics</text:p><text:p text:style-name="P2">this is bold</text:p><text:p text:style-name="Standard"/><text:list xml:id="list862274326" text:style-name="L1"><text:list-item><text:p text:style-name="P3">This</text:p></text:list-item><text:list-item><text:p text:style-name="P3">is a</text:p></text:list-item><text:list-item><text:p text:style-name="P3">bulleted list.</text:p></text:list-item></text:list><text:p text:style-name="Standard"/></office:text></office:body></office:document-content> | |
########### DOCX ########### | |
Unreadable with just a text editor - these formats have styled XML (document.xml) inside a compressed archive. | |
Additionally, the specifics of the styles may be held in a different file than the document itself. | |
What is below is the extracted document.xml. Filesize of the archive is 5.3k, and the uncompressed document.xml is 3k. | |
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | |
<w:document xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main" xmlns:w10="urn:schemas-microsoft-com:office:word" xmlns:wp="http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing" xmlns:wps="http://schemas.microsoft.com/office/word/2010/wordprocessingShape" xmlns:wpg="http://schemas.microsoft.com/office/word/2010/wordprocessingGroup" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:wp14="http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing" xmlns:w14="http://schemas.microsoft.com/office/word/2010/wordml" mc:Ignorable="w14 wp14"><w:body><w:p><w:pPr><w:pStyle w:val="Heading1"/><w:bidi w:val="0"/><w:spacing w:before="240" w:after="120"/><w:jc w:val="left"/><w:rPr></w:rPr></w:pPr><w:r><w:rPr></w:rPr><w:t>This is a level one header</w:t></w:r></w:p><w:p><w:pPr><w:pStyle w:val="Heading2"/><w:bidi w:val="0"/><w:jc w:val="left"/><w:rPr></w:rPr></w:pPr><w:r><w:rPr></w:rPr><w:t>This is a level two header</w:t></w:r></w:p><w:p><w:pPr><w:pStyle w:val="Heading3"/><w:bidi w:val="0"/><w:jc w:val="left"/><w:rPr></w:rPr></w:pPr><w:r><w:rPr></w:rPr><w:t>This is a level three header</w:t></w:r></w:p><w:p><w:pPr><w:pStyle w:val="Normal"/><w:bidi w:val="0"/><w:jc w:val="left"/><w:rPr></w:rPr></w:pPr><w:r><w:rPr></w:rPr></w:r></w:p><w:p><w:pPr><w:pStyle w:val="Normal"/><w:bidi w:val="0"/><w:jc w:val="left"/><w:rPr><w:i/><w:i/><w:iCs/></w:rPr></w:pPr><w:r><w:rPr><w:i/><w:iCs/></w:rPr><w:t>this is italics</w:t></w:r></w:p><w:p><w:pPr><w:pStyle w:val="Normal"/><w:bidi w:val="0"/><w:jc w:val="left"/><w:rPr><w:b/><w:b/><w:bCs/></w:rPr></w:pPr><w:r><w:rPr><w:b/><w:bCs/></w:rPr><w:t>this is bold</w:t></w:r></w:p><w:p><w:pPr><w:pStyle w:val="Normal"/><w:bidi w:val="0"/><w:jc w:val="left"/><w:rPr></w:rPr></w:pPr><w:r><w:rPr></w:rPr></w:r></w:p><w:p><w:pPr><w:pStyle w:val="Normal"/><w:numPr><w:ilvl w:val="0"/><w:numId w:val="2"/></w:numPr><w:bidi w:val="0"/><w:jc w:val="left"/><w:rPr></w:rPr></w:pPr><w:r><w:rPr></w:rPr><w:t>This</w:t></w:r></w:p><w:p><w:pPr><w:pStyle w:val="Normal"/><w:numPr><w:ilvl w:val="0"/><w:numId w:val="2"/></w:numPr><w:bidi w:val="0"/><w:jc w:val="left"/><w:rPr></w:rPr></w:pPr><w:r><w:rPr></w:rPr><w:t>is a</w:t></w:r></w:p><w:p><w:pPr><w:pStyle w:val="Normal"/><w:numPr><w:ilvl w:val="0"/><w:numId w:val="2"/></w:numPr><w:bidi w:val="0"/><w:jc w:val="left"/><w:rPr></w:rPr></w:pPr><w:r><w:rPr></w:rPr><w:t>bulleted list.</w:t></w:r></w:p><w:p><w:pPr><w:pStyle w:val="Normal"/><w:bidi w:val="0"/><w:jc w:val="left"/><w:rPr></w:rPr></w:pPr><w:r><w:rPr></w:rPr></w:r></w:p><w:sectPr><w:type w:val="nextPage"/><w:pgSz w:w="12240" w:h="15840"/><w:pgMar w:left="1134" w:right="1134" w:header="0" w:top="1134" w:footer="0" w:bottom="1134" w:gutter="0"/><w:pgNumType w:fmt="decimal"/><w:formProt w:val="false"/><w:textDirection w:val="lrTb"/></w:sectPr></w:body></w:document> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment