![]() ![]() ![]() Pikchr (a Pic enhancement) is designed to be embeddable into markdown rather than troff, and could pretty easily embed into plaintext-with-template-tags like this. Pic and Eqn are literally from the 1980s and 1970s, respectively. It's done by requiring a game engine rather than using any of those prexisting tools. What the author has accomplished is not having a special notation for those, but also reinventing Pic, Fig, DOT, or SVG for simple images. There are ways in both HTML and markdown to keep pre-formatted text for those cases. Where you see problems is when you're putting in footnote notations, equations, source code, and such. Even bulleted lists and numbered lists are handled in a pretty straightforward fashion. Italicized, bold, and underlined HTML text does pretty much resemble the purposes for which those symbols (asterisks, underscores) are used in text. Text with symbols, which I admit should fit in the general idea of a "plaintext file", will be interpreted potentially in ways not intended in a regular text edited document. Plaintext, as in text, won't get seriously mangled. Most plain text won’t be too badly damaged by reinterpretation as Markdown, but a lot will. Plaintext is not Markdown? Certainly true.Under weaker definitions, only mostly, unless you want to say that HTML is plain text too, in which case sure. Under stricter definitions, absolutely not. Markdown is plain text? Depends on what you mean by plain text.I spoke of Markdown because the author spoke of Markdown, and used Markdown syntax.To address the chain of comments that brought us here: If you take text that you wrote as plain, unformatted text, Markdown will routinely destroy it. Only inasmuch as there’s literally nothing that’s invalid Markdown. > Plaintext input is completely valid markdown though. Or on sites that do Markdown, ever talked about a generic type Foo and had the disappear? Or talked about _init_.py and got □□□□.py? Or taken text where you used a single newline character for paragraph breaks, and had everything end up as one paragraph? You ever see unintended italic text and missing asterisks here? I sure do. People get tripped up by accidentally invoking markup and thereby destroying their text all the time. This is very, very, very far from the truth. You can take text from any plaintext editor and paste it into a markdown input and it will render as HTML or XHTML that very much resembles what you copied.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |