Hello, I wrote a kramdown plugin.
Kramdown supports TOC. But when I tried to use the plugin recently in Nikola 8.1.2 it was not working right. Kramdown run on its own still works with my files, but running the plugin doesn't I can give more details if you like. If somebody can fix the plugin it would be interesting. I cannot work out how to debug it in Nikola. Mike On 14/01/2021 14:28, Krishnakanth Allika wrote: > I am curious if this will work for ipython files as well. I currently > create TOCs manually but something like this would be great. > > On Wednesday, October 28, 2020 at 4:10:44 AM UTC+5:30 Declan Costello wrote: > >> I tried SO before finding this list, looks like the expertise is here :) >> Thanks for the helpful fix, much appreciated. >> >> >> On Tuesday, October 27, 2020 at 7:06:05 PM UTC [email protected] wrote: >> >>> On Tue, 27 Oct 2020 at 19:17, Declan Costello <[email protected]> >>> wrote: >>>> >>>> I've set up a brand new local Nikola install and have a sample markdown >>> page that works fine. >>>> >>>> I'd like to add a TOC (table of contents) and I think I've enabled >>> everything I need but nothing appears except the text [TOC] >>>> more details here: >>>> >>> https://stackoverflow.com/questions/64554646/nikola-table-of-contents-in-markdown-format >>> >>>> >>>> Is there something I'm missing when it comes to activating plugins for >>> markdown? >>> >>> I answered the question on SO, and will repeat the answer here: >>> `[TOC]` must be in a paragraph of its own. >>> >>> PS. We’d prefer to keep questions in one place, and this mailing list >>> would be the best place to ask them — please put your question in the >>> e-mail next, no need to ask on SO (links to pastebins/repos/demo sites >>> are fine). >>> >>> -- >>> Chris Warrick <https://chriswarrick.com/> >>> PGP: 5EAAEA16 >>> >> > -- Michael A. Ray Analyst/Programmer Witley, Surrey, South-east UK "Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away." -- A. de Saint-Exupery https://cromarty.github.io/ http://eyesfreelinux.ninja/ http://www.raspberryvi.org/ -- You received this message because you are subscribed to the Google Groups "nikola-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/nikola-discuss/c3dab9c8-2904-afba-296d-b59f4f179170%40raspberryvi.org.
