From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <15bdde2d6476311f542b4ca783483b9b@krabbe.dyndns.org> To: <9fans@9fans.net> Date: Mon, 10 Aug 2015 16:04:51 +0200 From: Ingo Krabbe In-Reply-To: <34C2697A-0106-4691-ACAF-83A306C9A026@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] github blob exchange Topicbox-Message-UUID: 6588a65c-ead9-11e9-9d60-3106f5b1d025 Actually the command is no rocket science. You can simply use hget, sed and htmlfmt to reach similar things. The 'github' command is a kind of shortcut to blobs from github repositories. The --raw mode is the opposite of --blob. I changed the code that *.md files are automatically read blob files, not raw files, though this does not make too much sense on plan9 terminals. I'm just experimenting a bit with the possible transfer modes for files. So for *.md Files --blob mode is automatically selected. Using --raw with *.md Files (such as README.md) will choose the raw mode anyway. For all other files --raw is the default mode and --blob can be chosen to get the html table. But --blob mode for syntax highlighted files does not work yet, as the output is not in an
tag (as it is the case with *.md Files). Regards, ingo > I saw "GitHub" and "Plan 9" together and immediately heard angels singing. :) > > Question what does the --raw option do? > > On August 10, 2015 5:04:54 AM CDT, Ingo Krabbe wrote: >>Hi Plan9ers, >> >>I wrote a little rc script for my personal use. I want to share it with >>you, as it look quite usefull to me (why would I have wrote it >>otherwise). >> >> https://github.com/ikrabbe/github.rc >> >>Check it out and tell me your thoughts. >> >>Regards, >> >>ingo > > -- > Sent from my Nexus 5 with K-9 Mail. Please excuse my brevity.