You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
find or write a Markdown document that should generate a good TOC, e.g. this gist.
use gh-md-toc to generate a TOC for it, to stdout.
$ ~/bin/gh-md-toc ~/Desktop/burnout.md
Table of Contents
=================
* ["The Modern Day Sisyphus: \#libtech Burnout and You": <a href="https://twitter\.com/yo\_bj">Becky Yoose</a>](#the-modern-day-sisyphus-libtech-burnout-and-you-becky-yoose)
* [Abstract & slides](#abstract--slides)
* [twelve phases of burnout](#twelve-phases-of-burnout)
* [what's special about \#libtech burnout](#whats-special-about-libtech-burnout)
* [how to prevent/recover](#how-to-preventrecover)
* [\.\.\.but this isn't about what the victim should do](#but-this-isnt-about-what-the-victim-should-do)
* [co\-workers](#co-workers)
* [managers](#managers)
* [community](#community)
* [community privilege](#community-privilege)
Created by [gh-md-toc](https://github.com/ekalinin/github-markdown-toc.go)
$
turn off networking
attempt to generate the TOC again.
Expected:
same TOC is generated as in step 3.
Actual:
only header is generated:
$ ~/bin/gh-md-toc ~/Desktop/burnout.md
Table of Contents
=================
Created by [gh-md-toc](https://github.com/ekalinin/github-markdown-toc.go)
$
Yeah, it can work only when the Internet is on. As I didn't want to write a parser MD → HTML.
For converting markdown into plain HTML, I use GitHub's API. That's why this tool always needs an internet connection.
Steps to reproduce:
ensure machine is connected to the Internet.
find or write a Markdown document that should generate a good TOC, e.g.
this gist.
use
gh-md-toc
to generate a TOC for it, to stdout.turn off networking
attempt to generate the TOC again.
Expected:
Actual:
only header is generated:
Notes
gh-md-toc
5.0 built from commit 0523167The text was updated successfully, but these errors were encountered: