Giter Site home page Giter Site logo

Comments (8)

tfnico avatar tfnico commented on August 15, 2024

Will require a plugin it seems: https://github.com/dafi/jekyll-toc-generator

from git.github.io.

dscho avatar dscho commented on August 15, 2024

You can always use a local script to generate a TOC from an existing Markdown file, e.g. using https://github.com/jonschlinkert/markdown-toc. Of course, this would be a manual step, but publishing Rev News is already a manual step, isn't it? BTW is it documented anywhere what the steps are? Or even better: is there a script already that performs the publication?

from git.github.io.

tfnico avatar tfnico commented on August 15, 2024

@chriscool would have to comment on the publishing process. I suspect it's a manual move of the draft into the right place/name and commit & push, then a mail written to the Git list with some copy/pasted content. Then comes the mailchimp routine later (@mjaix takes care of that these days).

Long story short, adding a toc command in there should be possible, but yeah, we should document the process then.

from git.github.io.

chriscool avatar chriscool commented on August 15, 2024

Yeah, it is a manual process and @tfnico just documented it at a high level. I could automate some trivial steps, but at least at the beginning it will still need significant manual work for example to make sure the draft is sent to all the people who are concerned.

from git.github.io.

dscho avatar dscho commented on August 15, 2024

from git.github.io.

tfnico avatar tfnico commented on August 15, 2024

Oh hey, I just found some more process has been written here already:

https://git.github.io/rev_news/news_sources/

I'll patch up that page a bit.

from git.github.io.

allejo avatar allejo commented on August 15, 2024

Fast forward to 2019, there's now https://github.com/allejo/jekyll-toc that would let you achieve this on GitHub Pages without a plug-in or JS. Is this still something this project would be interested in?

from git.github.io.

chriscool avatar chriscool commented on August 15, 2024

Yeah, I think it would be interesting to have a table of contents. Thanks your suggestion!

from git.github.io.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.