/userjs-github-asciidoc

UserJS for GitHub: fix Asciidoc rendering

Primary LanguageJavaScript

UserJS for GitHub

Description

Fix Asciidoc rendering on GitHub:

  • add standard Asciidoc icons to NOTE/TIP/etc.
  • highlight block titles
  • fix TOC

Installation

  1. Make sure you have user scripts enabled in your browser (these instructions refer to the latest versions of the browsers):
    • CHROME, Chromium, and related: Install Tampermonkey.
    • CHROME 21+:
      1. Download the user script.
      2. Open chrome://chrome/extensions/.
      3. Drag and drop the user script file on the page you opened in STEP 2.
    • CHROME 20 (and below): User scripts are enabled by default.
    • FIREFOX: Install GreaseMonkey or Scriptish.
    • IE: Install Trixie.
    • OPERA 15+: Install Tampermonkey.
    • OPERA 12 (and below): Follow instructions located on Opera's site: User JS or try Violentmonkey.
    • SAFARI: Install NinjaKit.
  2. Install the user script by clicking here: github-asciidoc.user.js. You can also install it from GreasyFork.