tocbot - Build a table of contents from headings in an HTML document.

  •        81

Tocbot builds a table of contents (TOC) from headings in an HTML document. This is useful for documentation websites or long markdown pages because it makes them easier to navigate. This library was inspired by Tocify, the main difference is that Tocbot uses native DOM methods and avoids the jQuery & jQuery UI dependencies. You can use npm to install it or include the script on the page with HTML.



Related Projects

toc - jQuery Table of Contents Plugin

  •    HTML

TOC is a library for automatically generating a table of contents. See example for more information.


  •    Java

Java browser and wysiwyg | source editor of html SFI(Structure-Fragment-Identifier)-files: 1) creates dynamically Table-Of-Contents 2) One-to-One mapping ToC - browser|editors 3) indexes the words 4) developers can use it for their help-system.

github-markdown-toc - Easy TOC creation for GitHub

  •    Shell

gh-md-toc — is for you if you want to generate TOC for or GitHub's wiki page and don't want to install any additional software.It's more solid, reliable and with ability of a parallel processing. And absolutely without dependencies.

contents - Table of contents generator.

  •    Javascript

Table of contents generator. The code for all of the examples is in the examples folder.

mammoth.js - Convert Word documents (.docx files) to HTML

  •    Javascript

Mammoth is designed to convert .docx documents, such as those created by Microsoft Word, and convert them to HTML. Mammoth aims to produce simple and clean HTML by using semantic information in the document, and ignoring other details. For instance, Mammoth converts any paragraph with the style Heading 1 to h1 elements, rather than attempting to exactly copy the styling (font, text size, colour, etc.) of the heading. There's a large mismatch between the structure used by .docx and the structure of HTML, meaning that the conversion is unlikely to be perfect for more complicated documents. Mammoth works best if you only use styles to semantically mark up your document.

db-to-api - Turns a Database into a Secure, RESTful API

  •    PHP

Dynamically generate RESTful APIs from the contents of a database table. Provides JSON, XML, and HTML. Supports most popular databases. Creating an API to access information within existing database tables is laborious task, when done as a bespoke task. This is often dealt with by exporting the contents of the database as CSV files, and providing downloads of them as a “good enough” solution.

Minidisc TOC Editor

  •    Perl

'Minidisc TOC Editor' is an editor (Qt) for the minidisc table of contents ((U)TOC). The TOC will be sent to the deck using infrared signals (lirc). The specific details of the decks are separated in small, exchangable Tcl plugins.

refcard-org-mode - Org mode syntax reference card


It’s a good practice to also include an email line following the author line. Set the toc attribute to activate an auto-generated table of contents (limited to its 2 first levels) at the top of document.

android-branch-deep-linking - Deferred Deep Linking SDK for Android apps powered by Branch Metrics

  •    HTML

This is a repository of our open source Android SDK, and the information presented here serves as a reference manual for our Android SDK. See the table of contents below for a complete list of the content featured in this document. This is the readme file of our open source Android SDK. There's a full demo app embedded in this repository, but you should also check out our live demo: Branch Monster Factory. We've open sourced the Branchster's app as well if you'd like to dig in.

gitdown - GitHub markdown preprocessor.

  •    Javascript

Gitdown adds additional functionality (generating table of contents, including documents, using variables, etc.) to GitHub Flavored Markdown. Gitdown is designed to be run using either of the build systems, such as Gulp or Grunt.

toc - jQuery Table of Contents Plugin

  •    Javascript

jQuery Table of Contents Plugin

bootlint - HTML linter for Bootstrap projects

  •    Javascript

Bootlint is a tool that checks for several common HTML mistakes in webpages that are using Bootstrap in a fairly "vanilla" way. Vanilla Bootstrap's components/widgets require their parts of the DOM to conform to certain structures. Bootlint checks that instances of Bootstrap components have correctly-structured HTML. Optimal usage of Bootstrap also requires that your pages include certain <meta> tags, an HTML5 doctype declaration, etc.; Bootlint checks that these are present. Bootlint assumes that your webpage is already valid HTML5. If you need to check HTML5 validity, we recommend tools like vnu.jar, grunt-html, or grunt-html-validation.

Codelobster - Free Portable IDE for PHP/HTML/CSS/JavaScript Development

  •    PHP

Codelobster PHP Edition streamlines and simplifies php development process. It provides HTML editor, HTML code inspector, CSS editor, JavaScript editor, PHP editor, PHP debugger and lot more.

kableExtra - Construct Complex Table with knitr::kable() + pipe

  •    R

However, the ultimate simplicity of kable() also brought troubles to some of us, especially for new R users, who may not have a lot of experience on generating tables in R. It is not rare to see people including experienced users asking questions like how to center/left-align a table on Stack Overflow. Also, for me personally, I found myself repeatedly parsing CSS into kable() for some very simple features like striped lines. For LaTeX, it's even worse since I'm almost Stack Overflow dependent for LaTeX... That's why this package kableExtra was created. This package can load required LaTeX package automatically in vanilla rmarkdown. For customized rmarkdown templates, it is recommended to load related LaTeX packages manually.


  •    C

Pavuk is a UNIX program used to mirror the contents of WWW documents or files. It transfers documents from HTTP, FTP, Gopher and optionally from HTTPS (HTTP over SSL) servers. Pavuk has an optional GUI based on the GTK2 widget set.


  •    Javascript

Metamorph.js is a library that allows you to create a string of HTML, insert it into the DOM, and update the contents later. It works for normal cases, like inserting text into a <p> tag, and more complicated cases, like updating an <li> inside a <ul> or a <tr> inside a <table> (even after the <tbody> was automatically generated). The motivation for the Metamorph library is to make it possible for template engines to insert arbitrary content into a String of outputted HTML that they are generating with the ability to replace exactly that content later.

go-wkhtmltopdf - Golang commandline wrapper for wkhtmltopdf

  •    Go

See for wkhtmltopdf docs. We needed a way to generate PDF documents from Go. These vary from invoices with highly customizable lay-outs to reports with tables, graphs and images. In our opinion the best way to do this was by using HTML/CSS templates as source for our PDFs. Using CSS print media types and millimeters instead of pixel units we can generate very acurate PDF documents using wkhtmltopdf.

Sphinx - Python Documentation Generator

  •    Python

Sphinx is a tool that makes it easy to create intelligent and beautiful documentation for Python. It also supports C and C++. The support for other languages is in the plan. Support for multiple output formats are supported.

TWiki - Wiki and Web 2.0 Application Platform

  •    Perl

TWiki is a flexible, powerful, and easy to use enterprise wiki, enterprise collaboration platform, and web application platform. It is a Structured Wiki, typically used to run a project development space, a document management system, a knowledge base, or any other groupware tool, on an intranet, extranet or the Internet. TWiki is a cgi-bin script written in Perl. It reads a text file, hyperlinks it and converts it to HTML on the fly.