Medium Code Highlighter

Medium Code Highlighter

Add code syntax highlighting to Medium articles

Merlin
Additional files are visible only to premium users

manifest.json


{
  "update_url": "https://clients2.google.com/service/update2/crx",
  "manifest_version": 2,
  "name": "Medium Code Highlighter",
  "version": "1.0.2",
  "description": "Add code syntax highlighting to Medium articles",
  "author": "Mac Baler",
  "content_security_policy": "default-src 'self'",
  "icons": {
    "16": "icons/16active.png",
    "32": "icons/32active.png",
    "48": "icons/48active.png",
    "128": "icons/128active.png"
  },
  "page_action": {
    "default_popup": "popup/popup.html",
    "default_icon": {
      "16": "icons/16disabled.png",
      "32": "icons/32disabled.png",
      "48": "icons/48disabled.png",
      "128": "icons/128disabled.png"
    }
  },
  "background": {
    "scripts": [
      "background.js"
    ],
    "persistent": false
  },
  "content_scripts": [
    {
      "matches": [
        "<all_urls>"
      ],
      "js": [
        "highlightjs/highlight.pack.js",
        "content.js"
      ]
    }
  ],
  "permissions": [
    "storage"
  ],
  "web_accessible_resources": [
    "highlightjs/styles/*.css"
  ]
}