Commit 36adc6b9 authored by Ambrevar's avatar Ambrevar

guix-packaging: Init

parent 423d6825
This diff is collapsed.
(find-file "")
(find-file "")
(goto-char (point-min))
(insert "title: A packaging tutorial for Guix
date: 2018-10-09
author: Pierre Neidhardt
tags: Software development, Programming interfaces, Scheme API
(goto-char (point-min))
;; (save-excursion
;; (while (search-forward "</sub><sub>" nil 'noerror)
;; (replace-match "_")))
(while (search-forward "<sub>" nil 'noerror)
(replace-match "_")))
(while (search-forward "</sub>" nil 'noerror)
(replace-match "")))
(while (re-search-forward "\n\n +" nil 'noerror)
(let ((language-code (pcase (char-after)
(?$ "sh")
(?> "scheme")
(_ "scheme"))))
(forward-line -1)
(insert (format "```%s" language-code)))
(re-search-forward "\n\n+[^ ]")
(goto-char (match-beginning 0))
(insert "```"))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment