From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pierre Neidhardt Subject: Re: Blog: Guix packaging tutorial Date: Sun, 21 Oct 2018 13:21:59 +0200 Message-ID: <87a7n7pmso.fsf@ambrevar.xyz> References: <87in397jsd.fsf@ambrevar.xyz> <20180914113302.elqrk3tvdkln2cde@thebird.nl> <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> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54258) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gEBo7-00025y-19 for guix-devel@gnu.org; Sun, 21 Oct 2018 07:22:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gEBo2-00042j-DU for guix-devel@gnu.org; Sun, 21 Oct 2018 07:22:06 -0400 Received: from relay8-d.mail.gandi.net ([217.70.183.201]:57831) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gEBo2-00040N-3d for guix-devel@gnu.org; Sun, 21 Oct 2018 07:22:02 -0400 In-reply-to: <87d0s3pp70.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: Divan Cc: Guix-devel --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Divan writes: > Off topic, but how did you convert this? Guessing pandoc, but it seems > converted better then the standard, =3Dpandoc index.org -t gfm -o > /tmp/index.md=3D 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 l= acked 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-pac= kaging =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAlvMYVcACgkQm9z0l6S7 zH+GIwgAo2Uus0EiIcyp78PF0j6IggCiR84nC4wm9FXbG2vpnefQ8qduYVAgpsJx nWcphkUOh5kbueI2A+7MwUsenFAmhd+vQLH/pDFJNn6XnADPgT6IBlAtB+DB2n5o RPNHdWqdaug3xl0ydGCBX9FQh5J7v2LA79eomUIF+6ZbQLqBgW4S9P+GJ+M2r4HN qQa7MWKXLmUBy48mYda8jd/Rf/2Cd7rhnLNA3tdKxG95v9GnLL6qvGIodn3k4gxh ODijFnWxAmqChWPqu0D1MwOmDxDScnTVB+nm2jxoti5U+W76RygZ+O6QusVMb6eS IETkIfRmQ2PeDrUtIlEOmS63zK7baA== =6Uud -----END PGP SIGNATURE----- --=-=-=--