From mboxrd@z Thu Jan 1 00:00:00 1970 From: Divan Santana Subject: Re: Blog: Guix packaging tutorial Date: Mon, 22 Oct 2018 22:40:57 +0200 Message-ID: <87ftwxyasm.fsf@santanas.co.za> References: <87in397jsd.fsf@ambrevar.xyz> <87o9cmj0fc.fsf@ambrevar.xyz> <87mus6iypf.fsf@ambrevar.xyz> <87zhw02ea9.fsf@mdc-berlin.de> <87o9cex112.fsf@ambrevar.xyz> <87efdau5x2.fsf@gnu.org> <87murywuvn.fsf@ambrevar.xyz> <87lg7go8cv.fsf@gnu.org> <87va6kuyk4.fsf@ambrevar.xyz> <87sh1ot9m5.fsf@elephly.net> <87bm8bv4ao.fsf@ambrevar.xyz> <874le2j3ox.fsf@ambrevar.xyz> <87o9c4qxek.fsf@elephly.net> <87sh1g9t74.fsf@ambrevar.xyz> <87in2cqkf9.fsf@elephly.net> <87pnwk9jl9.fsf@ambrevar.xyz> <87o9c49ig9.fsf@ambrevar.xyz> <87lg789f5s.fsf@ambrevar.xyz> <87lg6sv19e.fsf@santanas.co.za> <87d0s3pp70.fsf@ambrevar.xyz> <87a7n7pmso.fsf@ambrevar.xyz> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44842) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gEhGI-00083l-Vf for guix-devel@gnu.org; Mon, 22 Oct 2018 16:57:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gEhGE-0007l3-Vo for guix-devel@gnu.org; Mon, 22 Oct 2018 16:57:18 -0400 Received: from outmail149078.authsmtp.net ([62.13.149.78]:24044) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gEhGC-0007Zz-QQ for guix-devel@gnu.org; Mon, 22 Oct 2018 16:57:13 -0400 In-reply-to: <87a7n7pmso.fsf@ambrevar.xyz> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Pierre Neidhardt Cc: Guix-devel Pierre Neidhardt writes: > Divan writes: >> Off topic, but how did you convert this? Guessing pandoc, but it seems >> converted better then the standard, =pandoc index.org -t gfm -o >> /tmp/index.md= would do. > > This is a very good question. Indeed, Org support in Pandoc is sub-par, so I > did not use that. Instead, I've used Emacs directly and its > ~(org-md-export-to-markdown)~ function. But even then, the export result lacked > a few elements, such as fenced code language tag or the header. > So I wrote a wrapper script to fix that automatically for me. > It's not very generic but it's a starting point. > > Here is the implementation: > > https://gitlab.com/ambrevar/ambrevar.gitlab.io/tree/master/source/guix-packaging This is really great and handy. I'll certainly be using this. Would be great to package something like in emacs community. A blog about converting back and forth between org and markdown would be welcome to many in the Emacs community. :) I'm slow to get around to completing your guix packaging tutorial. As a complete noob I'm very interested in this and keen to submit a few basic packages there after.