{"id":22090,"date":"2020-03-28T18:15:35","date_gmt":"2020-03-28T23:15:35","guid":{"rendered":"http:\/\/blog.kenperlin.com\/?p=22090"},"modified":"2020-03-28T18:15:35","modified_gmt":"2020-03-28T23:15:35","slug":"html-lite","status":"publish","type":"post","link":"https:\/\/blog.kenperlin.com\/?p=22090","title":{"rendered":"HTML lite"},"content":{"rendered":"<p>I thought it might be nice for a change to veer away from the topic on everyone&#8217;s mind, and talk about something really nerdy instead. In particular, I want to talk about how I take notes on my computer.<\/p>\n<p>I love to be able to type in plain text, with my hands always on the keyboard. That&#8217;s why I don&#8217;t like to take notes using tools like Google Docs, which ask me to keep moving my cursor to a menu bar and click on stuff every time I want to format something.<\/p>\n<p>So I&#8217;ve developed an (admittedly very nerdy) technique for note taking. I just type in plain text into an HTML file.<\/p>\n<p>I do it using my favorite text editor, <b>vi<\/b> (I told you I was nerdy). But right at the top of the file, I put a &lt;pre&gt; tag.<\/p>\n<p>What that does is tell the web browser (where I will later review my notes) not to do any formatting at all. Everything gets spaced out precisely the way I typed it, just as it would in a plain text file.<\/p>\n<p>Except, since this is HTML, I can still type things like &lt;b&gt;, &lt;i&gt;, &lt;u&gt;, &lt;li&gt;,  &lt;hr&gt;, &lt;font &#8230;&gt; and all of the other useful stuff HTML lets me do. So I can still create bold, italics, underlines, lists with bullet points, horizontal lines, tinted text and all that cool stuff. But it never gets in my way.<\/p>\n<p>Yes, I realize that unlike Google Docs, it&#8217;s not WYSIWYG (&#8220;What You See Is What You Get&#8221;). But that doesn&#8217;t bother me, because I have no trouble reading my own mark-up while I am typing my notes.<\/p>\n<p>The important thing is that I never need to take my fingers off the keyboard. That means I am never distracted by from whatever else is going on by searching for things in menus on my screen.<\/p>\n<p>I suspect there are text editors out there, like Emacs, which would let me use macros to do all this by hitting hotkeys as I type. But then I&#8217;d need to learn a whole new editor.<\/p>\n<p>And I don&#8217;t want to do that. Because at the end of the day, I am very lazy.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I thought it might be nice for a change to veer away from the topic on everyone&#8217;s mind, and talk about something really nerdy instead. In particular, I want to talk about how I take notes on my computer. I love to be able to type in plain text, with my hands always on the &hellip; <a href=\"https:\/\/blog.kenperlin.com\/?p=22090\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;HTML lite&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.kenperlin.com\/index.php?rest_route=\/wp\/v2\/posts\/22090"}],"collection":[{"href":"https:\/\/blog.kenperlin.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.kenperlin.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.kenperlin.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.kenperlin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=22090"}],"version-history":[{"count":3,"href":"https:\/\/blog.kenperlin.com\/index.php?rest_route=\/wp\/v2\/posts\/22090\/revisions"}],"predecessor-version":[{"id":22093,"href":"https:\/\/blog.kenperlin.com\/index.php?rest_route=\/wp\/v2\/posts\/22090\/revisions\/22093"}],"wp:attachment":[{"href":"https:\/\/blog.kenperlin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=22090"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.kenperlin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=22090"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.kenperlin.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=22090"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}