Re: SRFI AsciiDoc->HTML converter
Duy Nguyen 09 Sep 2019 11:05 UTC
On Mon, Sep 9, 2019 at 5:56 PM Lassi Kortela <xxxxxx@lassi.io> wrote:
>
> I don't know whether anyone else is writing SRFIs in AsciiDoc, but
> here's a Scheme script that converts an AsciiDoc file to a
> submission-ready HTML file:
> <https://github.com/srfi-explorations/srfi-from-asciidoc>.
Off topic. But if anyone wants to write in markdown instead,
commonmark can export to xml. You can do some extra processing in sxml
before transforming to html, which is not that complicated with
pre-post-order [1]
[1] https://gitlab.com/pclouds/cuibap/blob/master/cuibap/commonmark.scm#L50
> It relies on Alex's great HTML<->SXML libraries from Snow. Currently it
> requires Gauche, but it could be ported easily to other R7RS Schemes by
> re-implementing the `run-pipe` procedure that filters a string through
> an external program to get another string.
--
Duy