Adds a navigation menu to any readme or Markdown file on GitHub.

Latest Version

Version
1.1.0
Update
August 9, 2018
Size
5.8KiB
Developer
Category
Users
893
Rating
4.77778 ★
Manifest Version
2
Web Store Status
Languages Support
English
See more
Permissions
Https://github.com/*/*
WebNavigation
See more

Markdown Menu for GitHub Extension

Independently developed and unaffiliated with GitHub.

This extension is open source: https://github.com/willklein/markdown-menu

---

GitHub READMEs and Markdown documents don't always include a Table of Contents. Well-documented repos have longer documents that can be difficult to navigate. This extension will automagically generate and add a navigation menu with a table of contents.

Click the three-bar icon at the top of any Markdown file to view the menu. Click on a link to scroll to that section of the document. That's it!

---

Permissions requested:

- Read and change your data on github.com

This extension is scoped and enabled only when accessing https://github.com/*. This extension looks for Markdown headers, generates a navigation menu and adds it to Markdown views on GitHub.

- Read your browsing history

For this extension to work across page navigations within github.com, permissions are necessary to use chrome.webNavigation.onHistoryStateUpdated. This lets the extension hook into page navigations and trigger without full page refreshes.
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "name": "__MSG_appName__", "version": "1.1.0", "manifest_version": 2, "description": "__MSG_appDescription__", "default_locale": "en", "background": { "persistent": false, "scripts": [ "scripts/background.js" ] }, "content_scripts": [ { "matches": [ "https://github.com/*/*" ], "js": [ "scripts/contentscript.js" ], "css": [ "styles/contentstyle.css" ] } ], "permissions": [ "https://github.com/*/*", "webNavigation" ]}
Read more