Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

MakabaCode

User script for highlighting syntax within [code] tag at 2ch.hk

Install

Install userscript

For Google Chrome you should install the Tampermonkey. The stable version is 3.10.84. Go to play market `

For Mozilla Firefox you should install the Greasemonkey. The stable version is 3.1. Go to add-ons

Other browser hasn't tested yet. Find the userscript for your browser and use it on your own risk.

Install MacabaCode

The latest version of Macabacode is stored in the master branch of the repository.

Google Chrome

  1. Click on the Tampermonkey icon in the right upper corner. Check whether the extension has been enabled.
  2. Click the button Add a new script...
  3. In opened window past the contents of the makabaCode
  4. Click save

Firefox

Install script (Greasemonkey should be enabled)

Usage

The extension works only for 2ch.hk/pr board. This extension gives you an opportunity to use the [code][/code] tag that can help you to format your piece of code. You should wrap your piece of code with

[code lang="programming_laugnage"] %your code% [/code]

And post the message. No more operations - your message will automatically convert to normal view. Caution! if there are lots of messages with [code][/code] wrapper the extension can have a profound effect on performance of your browser.

About

User script for highlighting syntax within [code] tag at 2ch.hk

Resources

Releases

No releases published

Packages

No packages published