Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update gfm-add-toc.user.js #2

Open
wants to merge 40 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
889a79a
Update gfm-add-toc.user.js
kgashok Jul 19, 2017
3f12d8a
Update gfm-add-toc.user.js
kgashok Jul 19, 2017
4408bcc
Update gfm-add-toc.user.js
kgashok Jul 19, 2017
47ae6c9
Update gfm-add-toc.user.js
kgashok Jul 19, 2017
e3c680f
Merge pull request #2 from kgashok/kgashok-patch-1
kgashok Jul 19, 2017
14cf702
Update gfm-add-toc.user.js
kgashok Jul 19, 2017
13617e8
Create README.md
kgashok Jul 21, 2017
2abb13b
Update README.md
kgashok Jul 21, 2017
e9bf646
Create lab7-kgashok.py.md
kgashok Jul 24, 2017
9afa8ab
Update lab7-kgashok.py.md
kgashok Jul 24, 2017
bc9b56d
Update lab7-kgashok.py.md
kgashok Jul 24, 2017
11b5ae5
Update lab7-kgashok.py.md
kgashok Jul 24, 2017
a16861c
Update lab7-kgashok.py.md
kgashok Jul 24, 2017
b1e7751
Update gfm-add-toc.user.js
kgashok Jul 24, 2017
a1206be
Update gfm-add-toc.user.js
kgashok Jul 24, 2017
ae68172
Update gfm-add-toc.user.js
kgashok Jul 24, 2017
46e3896
Update gfm-add-toc.user.js
kgashok Jul 24, 2017
e00d24a
Update gfm-add-toc.user.js
kgashok Jul 24, 2017
f773aea
Update gfm-add-toc.user.js
kgashok Jul 24, 2017
2b116dc
Merge pull request #7 from kgashok/kgashok-patch-1
kgashok Jul 24, 2017
dc8e3d2
Create Capitalized-file.py.md
kgashok Jul 24, 2017
e460941
Update Capitalized-file.py.md
kgashok Jul 24, 2017
7c508d2
Update gfm-add-toc.user.js
kgashok Jul 24, 2017
82022be
Merge pull request #9 from kgashok/kgashok-patch-2
kgashok Jul 24, 2017
fa39d46
Update gfm-add-toc.user.js
kgashok Jul 24, 2017
dc0565b
Merge pull request #10 from kgashok/kgashok-patch-2
kgashok Jul 24, 2017
206d1b8
Update gfm-add-toc.user.js
kgashok Jul 24, 2017
ae9f967
Merge pull request #11 from kgashok/kgashok-patch-2
kgashok Jul 24, 2017
d4b7358
Update lab7-kgashok.py.md
kgashok Jul 24, 2017
e7bc0dc
Update gfm-add-toc.user.js
kgashok Jul 24, 2017
a2399e5
Update gfm-add-toc.user.js
kgashok Jul 24, 2017
cd2a89e
Update gfm-add-toc.user.js
kgashok Jul 24, 2017
416acb6
Update gfm-add-toc.user.js
kgashok Jul 24, 2017
5f2d616
Update gfm-add-toc.user.js
kgashok Jul 24, 2017
f7948af
Update gfm-add-toc.user.js
kgashok Jul 24, 2017
90742ff
Merge pull request #12 from kgashok/kgashok-patch-2
kgashok Jul 24, 2017
e53bab7
Update README.md
kgashok Jul 24, 2017
777b28e
Update gfm-add-toc.user.js
kgashok Jul 24, 2017
0fbea29
Merge pull request #16 from kgashok/kgashok-patch-2
kgashok Jul 24, 2017
55069af
Create file1
kgashok Jul 25, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions Capitalized-file.py.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
**Table of Contents**

* [Header 1](#header-1)
* [Header 22](#header-22)



# Header 1

For files with capitalized characters, ToC must be generated.

# Header 22


21 changes: 21 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
**Table of Contents**

* [tomancaklab.github.io](#tomancaklabgithubio)
* [Test Drive](#test-drive)



# tomancaklab.github.io
The website of the Tomancak Lab


Reproduced verbatim from the authors' [answer](https://stackoverflow.com/a/29012394/307454) on Stackoverflow:

> My colleague @schmiedc and I have created a GreaseMonkey script that installs a new TOC button left of the h1 button which uses the excellent markdown-js library to add/refresh a table of contents.
> The advantage over solutions like doctoc is that it integrates into GitHub's wiki editor and does not need users to work on their command-line (and require users to install tools like node.js). In Chrome, it works by drag 'n dropping into the Extensions page, in Firefox you will need to install the GreaseMonkey extension.
> It will work with plain markdown (i.e. it does not handle code blocks correctly, as that is a GitHub extension to markdown). Contributions welcome.


# Test Drive

Test drive the script here https://github.com/kgashok/tomancaklab.github.io/wiki
1 change: 1 addition & 0 deletions file1
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Intentionally left blank
60 changes: 42 additions & 18 deletions gfm-add-toc.user.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 25 additions & 0 deletions lab7-kgashok.py.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
**Table of Contents**

* [Header 1](#header-1)
* [Header 2](#header-2)
* [Header 33](#header-33)
* [Header 44](#header-44)
* [Header 55](#header-55)
* [Header 66](#header-66)
* [Header 77](#header-77)



# Header 1

# Header 2

## Header 33

## Header 44

## Header 55

## Header 66

## Header 77