~technomancy/fennel

1

[PATCH] fennel-lang.org - table of contents

Details
Message ID
<87o8r8sgcg.fsf@mischenko.com>
DKIM signature
pass
Download raw message
Attached is a patch to fennel-lang.org which promotes initial h1
headings to Pandoc titles and adds a table of contents to the reference.
The titles are still emitted as h1 headings, but they now also set the
page title and show up before tables of contents.

For some reason, the Lua filter prints warnings for each of the headings
that it promotes. Nevertheless, the filter still works fine. I'm not
entirely sure what's going on here.

I can rewrite the filter in Fennel and compile it to Lua in the makefile
if that would be preferable to people.

- benaiah

Re: [PATCH] fennel-lang.org - table of contents

Details
Message ID
<87o8r8bbuk.fsf@hagelb.org>
In-Reply-To
<87o8r8sgcg.fsf@mischenko.com> (view parent)
DKIM signature
missing
Download raw message
Benaiah Mischenko <benaiah@mischenko.com> writes:

> I can rewrite the filter in Fennel and compile it to Lua in the makefile
> if that would be preferable to people.

Nah let's keep it simple.

Thanks for this! It looks great.

-Phil
Export thread (mbox)