CodiMD Book mode

Display a sidebar like HackMD book mode

What is CodiMD Book mode?

CodiMD Book mode is a Chrome extension developed by 0140454, and its main feature is "Display a sidebar like HackMD book mode".

Extension Screenshots

screenshot

Download CodiMD Book mode Extension CRX File

Download CodiMD Book mode extension files in crx format, manually install Chrome extensions in the browser, or share the crx files with friends to easily install Chrome extensions.

Extension Usage Instructions

                        ## Disclaimer

* This extension is NOT developed by HackMD team.
* I develop this extension for personal use.
  There may be undiscovered defects. Please think twice before use.

## Requested Permissions

* webRequest
  Read security headers related to iframe
* declarativeNetRequest
  Modify found security headers to make functionality working

## Notice

* Hostname must contains hackmd or codimd; otherwise, this extension will not enable book mode.
  In the other words, if you host CodiMD without domain name, this extension is not for you.

## How to use?

1. Install extension
2. Open your note for book index (e.g. https://codimd.your.domain/note)
3. Add `book` to query string (e.g. https://codimd.your.domain/note?book)
4. Enjoy it

## Difference between this extension and HackMD

* Links will be opened in new tab
  * HackMD
    * [target=_blank] is added explicitly
    * Starts with http (non-SSL)
  * This extension
    * [target=_blank] is added explicitly
    * Cross-origin                    

Extension Basic Information

Name CodiMD Book mode CodiMD Book mode
ID apahkbcjkfpaknjebpaoaehpjiedeapa
Official URL https://chromewebstore.google.com/detail/codimd-book-mode/apahkbcjkfpaknjebpaoaehpjiedeapa
Description Display a sidebar like HackMD book mode
File Size 82.18 KB
Installation Count 81
Current Version 1.0.0
Last Updated 2022-12-07
Publish Date 2020-12-15
Developer 0140454
Email [email protected]
Payment Type free
Extension Website https://github.com/0140454/codimd-book
Supported Languages en
manifest.json
{
    "update_url": "https:\/\/clients2.google.com\/service\/update2\/crx",
    "name": "CodiMD Book mode",
    "version": "1.0.0",
    "description": "Display a sidebar like HackMD book mode",
    "icons": {
        "128": "icon.png"
    },
    "permissions": [
        "webRequest",
        "declarativeNetRequest"
    ],
    "host_permissions": [
        ""
    ],
    "background": {
        "service_worker": "js\/background.js"
    },
    "content_scripts": [
        {
            "matches": [
                ""
            ],
            "include_globs": [
                "*hackmd*?*book*",
                "*codimd*?*book*"
            ],
            "run_at": "document_start",
            "css": [
                "css\/book.css"
            ],
            "js": [
                "js\/book.js"
            ]
        }
    ],
    "manifest_version": 3
}