Reddit syntax highlight

Reddit syntax highlight

This extension will look for code blocks on reddit and attempt to put the right syntax highlighting on it.

Merlin
Additional files are visible only to premium users

manifest.json


{
  "update_url": "https://clients2.google.com/service/update2/crx",
  "manifest_version": 2,
  "name": "Reddit syntax highlight",
  "description": "This extension will look for code blocks on reddit and attempt to put the right syntax highlighting on it.",
  "version": "1.0",
  "permissions": [
    "https://*.reddit.com/",
    "http://*.reddit.com/"
  ],
  "icons": {
    "16": "icon16.png",
    "48": "icon48.png",
    "128": "icon128.png"
  },
  "content_scripts": [
    {
      "all_frames": true,
      "matches": [
        "http://*.reddit.com/*",
        "https://*.reddit.com/"
      ],
      "css": [
        "syntax.css"
      ],
      "js": [
        "jquery.js",
        "syntax.js"
      ]
    }
  ]
}