terrible rst translator for hyde added by wasamasa on Sun Apr 14 11:02:47 2019

(define (rst->html)
  (let* ((rst
          (make-external-translator
           "rst2html"
           (lambda ()
             '("--link-stylesheet" "--smart-quotes=yes"
               "--syntax-highlight=short" "--trim-footnote-reference-space"))))
         (dom (with-input-from-string (with-output-to-string rst) html->sxml))
         (html (serialize-sxml ((sxpath "//body/div/node()") dom) indent: #f)))
      (display html)))