manbytesgnu_site

Source files for manbytesgnu.org
git clone git://holbrook.no/manbytesgnu_site.git
Info | Log | Files | Refs

20240517_localmd.rst (1266B)


      1 Local documentation viewers
      2 ###########################
      3 
      4 :date: 2024-05-17 13:35
      5 :category: Hygiene
      6 :author: Louis Holbrook
      7 :tags: bash,markdown,pandoc,vimb,buku
      8 :slug: local-doc-view
      9 :summary: Bash script to render and spawn a viewer for markdown files
     10 :lang: en
     11 :status: draft
     12 
     13 
     14 Have you noticed that when you start a modern gorilla browser, it will always call to the network.
     15 
     16 Be it a chromium or a mozilla, no matter how you tell it no home page, no restoration, and any other available tweak of settings, it will always make at least that one call.
     17 
     18 At first glace, this may be a silly thing to get hung up on. Why would you even use a browser if it wasn't to go online, righT?
     19 
     20 
     21 Pin down Markdown
     22 =================
     23 
     24 I consider Markdown to be the fast-food of documents.
     25 
     26 That doesn't change the fact that it's everywhere. So much everywhere, in fact, that it's kind of puzzling there is not a dedicated tool around to view it.
     27 
     28 There is no shortage of applications that _can_ render markdown. Among the alternatives are free code editors like atom or sublime, the browser plugin Markdown Viewer and even a dedicated markdown editor Mark Test.
     29 
     30 But these are not simple viewers. What is the equivalent of xv or feh for Markdown? Honestly, I couldn't find one.