<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
    <title>0xDECAFBAD - Tag: markdown</title>
    <link href="http://decafbad.com/blog/atom.xml" rel="self"/>
    <link href="http://decafbad.com/blog"/>
    <updated>2011-11-16T16:29:50+00:00</updated>
    <id></id>
    <author>
        <name></name>
        <email>l.m.orchard@pobox.com</email>
    </author>
    

    <entry>
        <title>Markdown, Oh the Humanity</title>
        <link href="http://decafbad.com/blog/2008/05/18/markdown-oh-the-humanity"/>
        <updated>2008-05-18T04:18:09+00:00</updated>
        <id>http://decafbad.com/blog/2008/05/18/markdown-oh-the-humanity</id>
        <content type="html">&lt;p&gt;I use &lt;a href=&quot;http://daringfireball.net/projects/markdown&quot;&gt;Markdown&lt;/a&gt; to write for this blog, and I don't think I could write much online without it.  (Of course, that's not saying much lately—but nevermind that for now.)&lt;/p&gt;

&lt;p&gt;Although I do appreciate all the effort put toward enhancing &lt;code&gt;&amp;lt;textareas&amp;gt;&lt;/code&gt; on the web, I'm not a fan of WYSIWYG writing interfaces.  They hide too much in an effort to make things &quot;easy&quot;—yet, for all that ease, they make me miss &lt;a href=&quot;http://en.wikipedia.org/wiki/Wordperfect#Reveal_codes&quot;&gt;Reveal Codes&lt;/a&gt; in WordPerfect 5.1 for DOS.  Hell, I wish I could write books using &lt;a href=&quot;http://daringfireball.net/projects/markdown&quot;&gt;Markdown&lt;/a&gt; instead of Microsoft Word.  (And, yeah, I know that some O'Reilly authors have written books in &lt;a href=&quot;http://perldoc.perl.org/perlpod.html&quot;&gt;perlpod&lt;/a&gt;—but that's a bit too far even for me.)&lt;/p&gt;

&lt;p&gt;Anyway, I think the issue is that it really bothers me to compose HTML in the same mental context as writing prose—HTML is too much like code.  Coding and &lt;a href=&quot;http://www.merriam-webster.com/dictionary/prosing&quot;&gt;prosing&lt;/a&gt; are two different modes for me, and I don't like the constant context-switching thrash.  (And, yes, I've just learned today that &lt;a href=&quot;http://www.merriam-webster.com/dictionary/prosing&quot;&gt;prosing&lt;/a&gt; is a word.)&lt;/p&gt;

&lt;p&gt;So, apropos of this, there's been a &lt;a href=&quot;http://www.jerf.org/iri/post/2520&quot;&gt;thread&lt;/a&gt; in the &lt;a href=&quot;http://www.codinghorror.com/blog/archives/001116.html&quot;&gt;blogophere&lt;/a&gt; lately &lt;a href=&quot;http://blog.wired.com/monkeybites/2008/05/a-million-littl.html&quot;&gt;naysaying&lt;/a&gt; non-HTML, wiki-text, and &lt;a href=&quot;http://webseitz.fluxent.com/wiki/SmartAscii&quot;&gt;smart-ASCII&lt;/a&gt; formats.  They seem to be mostly attacking the idea from a technical perspective, where it's more like a usability problem to me.&lt;/p&gt;

&lt;p&gt;I don't see where Jeff Atwood's &quot;&lt;a href=&quot;http://www.codinghorror.com/blog/archives/001116.html&quot;&gt;Is HTML a Humane Markup Language?&lt;/a&gt;&quot; makes the case for HTML as humane.  As far as I can tell, the inhumanity is that markup schemes are harder to keep track of than HTML.  Yet, there's a kind of coder macho thing going on there that's decidedly not humane—i.e. real programmers should be fine with getting their eyes poked by angle brackets on a regular basis.&lt;/p&gt;

&lt;p&gt;Anyway, I do agree that some of these formats are horrendous.  &lt;a href=&quot;http://en.wikipedia.org/wiki/Wikipedia:How_to_edit_a_page&quot;&gt;Wikipedia markup&lt;/a&gt; and &lt;a href=&quot;http://www.phpbb.com/community/faq.php?mode=bbcode&quot;&gt;BBCode&lt;/a&gt; are nasty in particular.  Though, &lt;a href=&quot;http://en.wikipedia.org/wiki/Wikipedia:How_to_edit_a_page&quot;&gt;Wikipedia markup&lt;/a&gt; at least has some semantic purpose beyond HTML.  But, I can't follow from that to seeing how the whole idea is wrong.&lt;/p&gt;

&lt;p&gt;I used &lt;a href=&quot;http://textile.thresholdstate.com/&quot;&gt;Textile&lt;/a&gt; for awhile, and then switched to &lt;a href=&quot;http://daringfireball.net/projects/markdown&quot;&gt;Markdown&lt;/a&gt; when it came around.  At this point, I've been using &lt;a href=&quot;http://daringfireball.net/projects/markdown&quot;&gt;Markdown&lt;/a&gt; since it came out in 2004.  I now plug &lt;a href=&quot;http://daringfireball.net/projects/markdown&quot;&gt;Markdown&lt;/a&gt; into everything I can where I'll be doing any writing.  There's a version of &lt;a href=&quot;http://daringfireball.net/projects/markdown&quot;&gt;Markdown&lt;/a&gt; in just about every language known to the web these days—you can even find &lt;a href=&quot;http://attacklab.net/showdown/&quot;&gt;Markdown in Javascript&lt;/a&gt;.  I write notes to myself in &lt;a href=&quot;http://daringfireball.net/projects/markdown&quot;&gt;Markdown&lt;/a&gt;, even when there's no URL to view it.  I've even used &lt;a href=&quot;http://daringfireball.net/projects/markdown&quot;&gt;Markdown&lt;/a&gt; semi-consciously when writing by hand in a paper journal.&lt;/p&gt;

&lt;p&gt;Perhaps I've said too much.&lt;/p&gt;

&lt;p&gt;Anyway, I'll expend as many brain cells as it takes to not need to compose raw HTML by hand in the course of writing.  As it happens, I can usually just use &lt;a href=&quot;http://daringfireball.net/projects/markdown&quot;&gt;Markdown&lt;/a&gt;, so those brain cells were spent years ago.  And thus, I feel I've saved more brain cells in avoiding coding/&lt;a href=&quot;http://www.merriam-webster.com/dictionary/prosing&quot;&gt;prosing&lt;/a&gt; thrash. So, it could just be personal preference, but I agree with the reasons why &lt;a href=&quot;http://c2.com/cgi/wiki?WhyDoesntWikiDoHtml&quot;&gt;the original wiki doesn't use HTML&lt;/a&gt;.&lt;/p&gt;

&lt;div id=&quot;comments&quot; class=&quot;comments archived-comments&quot;&gt;
            &lt;h3&gt;Archived Comments&lt;/h3&gt;
            
        &lt;ul class=&quot;comments&quot;&gt;
            
        &lt;li class=&quot;comment&quot; id=&quot;comment-221085294&quot;&gt;
            &lt;div class=&quot;meta&quot;&gt;
                &lt;div class=&quot;author&quot;&gt;
                    &lt;a class=&quot;avatar image&quot; rel=&quot;nofollow&quot; 
                       href=&quot;http://megalar.890m.com/blog/&quot;&gt;&lt;img src=&quot;http://www.gravatar.com/avatar.php?gravatar_id=750dbcc9cc192bfad37a3daa4edf139e&amp;amp;size=32&amp;amp;default=http://mediacdn.disqus.com/1320279820/images/noavatar32.png&quot;/&gt;&lt;/a&gt;
                    &lt;a class=&quot;avatar name&quot; rel=&quot;nofollow&quot; 
                       href=&quot;http://megalar.890m.com/blog/&quot;&gt;megalar&lt;/a&gt;
                &lt;/div&gt;
                &lt;a href=&quot;#comment-221085294&quot; class=&quot;permalink&quot;&gt;&lt;time datetime=&quot;2008-05-18T22:19:07&quot;&gt;2008-05-18T22:19:07&lt;/time&gt;&lt;/a&gt;
            &lt;/div&gt;
            &lt;div class=&quot;content&quot;&gt;&lt;p&gt;I couldn't agree more on this dude. As for people like Jeff Atwood... well, pffft. I grow tired of the &quot;real programmers&quot; do this or that mentality and while I'm a regular reader of Coding Horror, I hear alot of that garbage there. Fortunately I have excellent noise filters for my idea factory so it doesn't make much of an impression. 
peace.&lt;/p&gt;&lt;/div&gt;
            
        &lt;/li&gt;
    
        &lt;li class=&quot;comment&quot; id=&quot;comment-221085296&quot;&gt;
            &lt;div class=&quot;meta&quot;&gt;
                &lt;div class=&quot;author&quot;&gt;
                    &lt;a class=&quot;avatar image&quot; rel=&quot;nofollow&quot; 
                       href=&quot;http://spindrop.us&quot;&gt;&lt;img src=&quot;http://www.gravatar.com/avatar.php?gravatar_id=dce6951264f7d72429a9964e1756dad3&amp;amp;size=32&amp;amp;default=http://mediacdn.disqus.com/1320279820/images/noavatar32.png&quot;/&gt;&lt;/a&gt;
                    &lt;a class=&quot;avatar name&quot; rel=&quot;nofollow&quot; 
                       href=&quot;http://spindrop.us&quot;&gt;Dave Dash&lt;/a&gt;
                &lt;/div&gt;
                &lt;a href=&quot;#comment-221085296&quot; class=&quot;permalink&quot;&gt;&lt;time datetime=&quot;2008-05-19T21:54:42&quot;&gt;2008-05-19T21:54:42&lt;/time&gt;&lt;/a&gt;
            &lt;/div&gt;
            &lt;div class=&quot;content&quot;&gt;&lt;p&gt;I use Markdown everywhere as well.  I am not sure about the technical arguments against it, but personally, it does a lot less damage than wysiwyg.&lt;/p&gt;

&lt;p&gt;In fact, it's nice in that it gives you control without sacrificing readability.&lt;/p&gt;&lt;/div&gt;
            
        &lt;/li&gt;
    
        &lt;li class=&quot;comment&quot; id=&quot;comment-221085297&quot;&gt;
            &lt;div class=&quot;meta&quot;&gt;
                &lt;div class=&quot;author&quot;&gt;
                    &lt;a class=&quot;avatar image&quot; rel=&quot;nofollow&quot; 
                       href=&quot;http://the-inbetween.com&quot;&gt;&lt;img src=&quot;http://www.gravatar.com/avatar.php?gravatar_id=ef9c6d643edd502e1122fd930580119d&amp;amp;size=32&amp;amp;default=http://mediacdn.disqus.com/1320279820/images/noavatar32.png&quot;/&gt;&lt;/a&gt;
                    &lt;a class=&quot;avatar name&quot; rel=&quot;nofollow&quot; 
                       href=&quot;http://the-inbetween.com&quot;&gt;n0wak&lt;/a&gt;
                &lt;/div&gt;
                &lt;a href=&quot;#comment-221085297&quot; class=&quot;permalink&quot;&gt;&lt;time datetime=&quot;2008-05-22T19:15:36&quot;&gt;2008-05-22T19:15:36&lt;/time&gt;&lt;/a&gt;
            &lt;/div&gt;
            &lt;div class=&quot;content&quot;&gt;&lt;p&gt;I dunno, I'm not a fan. By using underscores and brackets, instead of full tags, it has a tendency to break down a lot. Which has, thusly, prompted http://fuckingmarkdown.com/ in frustration.&lt;/p&gt;

&lt;p&gt;It's too clunky and requires as much user involvement to get it working 100% of the time as simple HTML or BBCode. Nothing more frustrating than posting a URL with an underscore in it and having markdown convert those underscores into italics, breaking the whole damned thing.&lt;/p&gt;&lt;/div&gt;
            
        &lt;/li&gt;
    
        &lt;li class=&quot;comment&quot; id=&quot;comment-221085299&quot;&gt;
            &lt;div class=&quot;meta&quot;&gt;
                &lt;div class=&quot;author&quot;&gt;
                    &lt;a class=&quot;avatar image&quot; rel=&quot;nofollow&quot; 
                       href=&quot;http://plasmasturm.org/&quot;&gt;&lt;img src=&quot;http://www.gravatar.com/avatar.php?gravatar_id=e17949267bbfe21a0fadf1bbf00592b4&amp;amp;size=32&amp;amp;default=http://mediacdn.disqus.com/1320279820/images/noavatar32.png&quot;/&gt;&lt;/a&gt;
                    &lt;a class=&quot;avatar name&quot; rel=&quot;nofollow&quot; 
                       href=&quot;http://plasmasturm.org/&quot;&gt;Aristotle Pagaltzis&lt;/a&gt;
                &lt;/div&gt;
                &lt;a href=&quot;#comment-221085299&quot; class=&quot;permalink&quot;&gt;&lt;time datetime=&quot;2008-05-23T09:14:33&quot;&gt;2008-05-23T09:14:33&lt;/time&gt;&lt;/a&gt;
            &lt;/div&gt;
            &lt;div class=&quot;content&quot;&gt;&lt;p&gt;Of course, if you put the URL in angle brackets, Markdown will refrain from touching it at all. Likewise for file- and variable names in backticks. That said, John Gruber has repeatedly said that he considers the underscore issue a bug, and the next release will fix this so internal underscores inside words will not trigger emphasis markup.&lt;/p&gt;

&lt;p&gt;So that particular issue, pain in the bottom as it can on rare occasions be, is easy to work around now and will completely vanish in the future.&lt;/p&gt;&lt;/div&gt;
            
        &lt;/li&gt;
    
        &lt;li class=&quot;comment&quot; id=&quot;comment-221085301&quot;&gt;
            &lt;div class=&quot;meta&quot;&gt;
                &lt;div class=&quot;author&quot;&gt;
                    &lt;a class=&quot;avatar image&quot; rel=&quot;nofollow&quot; 
                       href=&quot;&quot;&gt;&lt;img src=&quot;http://www.gravatar.com/avatar.php?gravatar_id=1d6eeb33a8d967f618301516bba16521&amp;amp;size=32&amp;amp;default=http://mediacdn.disqus.com/1320279820/images/noavatar32.png&quot;/&gt;&lt;/a&gt;
                    &lt;a class=&quot;avatar name&quot; rel=&quot;nofollow&quot; 
                       href=&quot;&quot;&gt;gavin&lt;/a&gt;
                &lt;/div&gt;
                &lt;a href=&quot;#comment-221085301&quot; class=&quot;permalink&quot;&gt;&lt;time datetime=&quot;2008-06-28T00:53:01&quot;&gt;2008-06-28T00:53:01&lt;/time&gt;&lt;/a&gt;
            &lt;/div&gt;
            &lt;div class=&quot;content&quot;&gt;&lt;p&gt;Doesn't markdown lack necessary things for being a template engine? (similar to Smarty)&lt;/p&gt;

&lt;p&gt;I mean, &lt;code&gt;${some_variable}&lt;/code&gt; to echo a variable, and &lt;code&gt;if/else&lt;/code&gt;, and &lt;code&gt;foreach&lt;/code&gt; an array?&lt;/p&gt;

&lt;p&gt;Or, do you just use something like PHP's  and use PHP's if/else/foreach?  Or Ruby or Python, etc, I mean.&lt;/p&gt;&lt;/div&gt;
            
        &lt;/li&gt;
    
        &lt;li class=&quot;comment&quot; id=&quot;comment-221085304&quot;&gt;
            &lt;div class=&quot;meta&quot;&gt;
                &lt;div class=&quot;author&quot;&gt;
                    &lt;a class=&quot;avatar image&quot; rel=&quot;nofollow&quot; 
                       href=&quot;http://www.decafbad.com&quot;&gt;&lt;img src=&quot;http://www.gravatar.com/avatar.php?gravatar_id=2377f34a68801b861c3e54e1301f0dce&amp;amp;size=32&amp;amp;default=http://mediacdn.disqus.com/1320279820/images/noavatar32.png&quot;/&gt;&lt;/a&gt;
                    &lt;a class=&quot;avatar name&quot; rel=&quot;nofollow&quot; 
                       href=&quot;http://www.decafbad.com&quot;&gt;l.m.orchard&lt;/a&gt;
                &lt;/div&gt;
                &lt;a href=&quot;#comment-221085304&quot; class=&quot;permalink&quot;&gt;&lt;time datetime=&quot;2008-06-29T00:11:21&quot;&gt;2008-06-29T00:11:21&lt;/time&gt;&lt;/a&gt;
            &lt;/div&gt;
            &lt;div class=&quot;content&quot;&gt;&lt;p&gt;@gavin:  Markdown's not a template engine, it's like wiki text or &quot;smart ASCII&quot;  It's a set of rules allowing users to write in plain text that later gets converted to HTML.  No logic or variables or control structures involved.&lt;/p&gt;&lt;/div&gt;
            
        &lt;/li&gt;
    
        &lt;li class=&quot;comment&quot; id=&quot;comment-221085306&quot;&gt;
            &lt;div class=&quot;meta&quot;&gt;
                &lt;div class=&quot;author&quot;&gt;
                    &lt;a class=&quot;avatar image&quot; rel=&quot;nofollow&quot; 
                       href=&quot;http://blog.unitedheroes.net&quot;&gt;&lt;img src=&quot;http://www.gravatar.com/avatar.php?gravatar_id=43cf82e91f47d50b616aae028f212dac&amp;amp;size=32&amp;amp;default=http://mediacdn.disqus.com/1320279820/images/noavatar32.png&quot;/&gt;&lt;/a&gt;
                    &lt;a class=&quot;avatar name&quot; rel=&quot;nofollow&quot; 
                       href=&quot;http://blog.unitedheroes.net&quot;&gt;jr&lt;/a&gt;
                &lt;/div&gt;
                &lt;a href=&quot;#comment-221085306&quot; class=&quot;permalink&quot;&gt;&lt;time datetime=&quot;2008-06-29T02:18:36&quot;&gt;2008-06-29T02:18:36&lt;/time&gt;&lt;/a&gt;
            &lt;/div&gt;
            &lt;div class=&quot;content&quot;&gt;&lt;p&gt;Meh. I use HTML because that's my preferred syntax of choice. I have a vested interest in using it because I don't want to learn a &quot;simpler&quot; form that requires me learning something different, solely because it's different and therefore involves learning.&lt;/p&gt;

&lt;p&gt;That's not to say that Markdown, WikiScript, LaTEX, or using in-lined emacs command syntax is any more or less valid than HTML or whatever other syntax someone else has a vested interest in using.&lt;/p&gt;

&lt;p&gt;The only thing that matters is whether or not the output of said syntax methodology is readable with zero effort on my part. &lt;/p&gt;

&lt;p&gt;(Heck, you could code this using straight MIME encoded UNICODE variables for all I care at that point.)&lt;/p&gt;&lt;/div&gt;
            
        &lt;/li&gt;
    
        &lt;li class=&quot;comment&quot; id=&quot;comment-221085309&quot;&gt;
            &lt;div class=&quot;meta&quot;&gt;
                &lt;div class=&quot;author&quot;&gt;
                    &lt;a class=&quot;avatar image&quot; rel=&quot;nofollow&quot; 
                       href=&quot;http://semafour.net/&quot;&gt;&lt;img src=&quot;http://www.gravatar.com/avatar.php?gravatar_id=b4bc237bed991e960f43a16ca91ce098&amp;amp;size=32&amp;amp;default=http://mediacdn.disqus.com/1320279820/images/noavatar32.png&quot;/&gt;&lt;/a&gt;
                    &lt;a class=&quot;avatar name&quot; rel=&quot;nofollow&quot; 
                       href=&quot;http://semafour.net/&quot;&gt;Joseph Kern&lt;/a&gt;
                &lt;/div&gt;
                &lt;a href=&quot;#comment-221085309&quot; class=&quot;permalink&quot;&gt;&lt;time datetime=&quot;2009-06-18T11:41:08&quot;&gt;2009-06-18T11:41:08&lt;/time&gt;&lt;/a&gt;
            &lt;/div&gt;
            &lt;div class=&quot;content&quot;&gt;&lt;p&gt;If you wish you could write books in markdown, checkout pandoc. It's a Markdown to html,latex,pdf,etc,etc. converter written in haskell.&lt;/p&gt;&lt;/div&gt;
            
        &lt;/li&gt;
    
        &lt;li class=&quot;comment&quot; id=&quot;comment-221085311&quot;&gt;
            &lt;div class=&quot;meta&quot;&gt;
                &lt;div class=&quot;author&quot;&gt;
                    &lt;a class=&quot;avatar image&quot; rel=&quot;nofollow&quot; 
                       href=&quot;&quot;&gt;&lt;img src=&quot;http://www.gravatar.com/avatar.php?gravatar_id=7e9254455b1d37dcec07eefa362e5c1a&amp;amp;size=32&amp;amp;default=http://mediacdn.disqus.com/1320279820/images/noavatar32.png&quot;/&gt;&lt;/a&gt;
                    &lt;a class=&quot;avatar name&quot; rel=&quot;nofollow&quot; 
                       href=&quot;&quot;&gt;Simon&lt;/a&gt;
                &lt;/div&gt;
                &lt;a href=&quot;#comment-221085311&quot; class=&quot;permalink&quot;&gt;&lt;time datetime=&quot;2010-01-17T17:32:40&quot;&gt;2010-01-17T17:32:40&lt;/time&gt;&lt;/a&gt;
            &lt;/div&gt;
            &lt;div class=&quot;content&quot;&gt;&lt;p&gt;I'm new to the markdown languages, and must say there are a plethora of them. Can I ask if you guys are still using markdown or whether you've switched to something else? Also, what think ye of multimarkdown and Pandoc?&lt;/p&gt;

&lt;p&gt;My constant hassle with markdown is it's inability to align images, or am I missing something?&lt;/p&gt;

&lt;p&gt;I totally agree that tags inhibit creative writing. I can hand code HTML/CSS, but I can't write anything decent whilst doing it. The other major pain with tags is that the flow of your original document is crap. Markdown leaves you with a readable document.&lt;/p&gt;

&lt;p&gt;My only difficulty is that I want to take things one step further and use it for all my writing needs. Markdown hasn't seen any development in a while and the missing image manipulation is an issue for me, especially as most blogs contain images.&lt;/p&gt;

&lt;p&gt;I have some 3000 pages of MS Word documents that I need to find another format for so if anyone things any of these markup languages are up to it it would be great to hear.&lt;/p&gt;

&lt;p&gt;sorry for writing so much!&lt;/p&gt;&lt;/div&gt;
            
        &lt;/li&gt;
    
        &lt;/ul&gt;
    
        &lt;/div&gt;



</content>
    </entry>
    
    
</feed>

