monospace

Display monospaced and highlighted code blocks instantly in Chrome!

monospace란 무엇입니까?

monospace은(는) Tyler Chen에 의해 개발된 Chrome 확장 프로그램으로, 주요 기능은 "Display monospaced and highlighted code blocks instantly in Chrome!"입니다.

확장 프로그램 스크린샷

screenshot
screenshot

monospace 확장 프로그램 CRX 파일 다운로드

크롬 확장 프로그램을 crx 형식으로 다운로드하여 브라우저에 수동으로 설치하거나 crx 파일을 친구들과 공유하여 쉽게 크롬 확장 프로그램을 설치하세요.

확장 프로그램 사용 설명서

                        Monospace formats code sent through Facebook chat into monospaced, syntax-highlighted, line-numbered code blocks. Additionally monospace will highlight and add line numbers to files viewed in the chrome file viewer. Multiple highlighting themes are included and can be switched in the options menu.

To use monospace simply send code through facebook wrapped with the delimiters set in the options page.

EXAMPLES: 

  - ```for x in range(0:10):
       print(x)```

  - you can also have ```inline code``` 


Notes: 
This is still very much a work in progress. I'm currently looking for bugs and unintended behavior. I'll remove all the console logs once I'm satisfied with its stability.

The UI is still pretty clunky since I haven't spent much time working on that. I'll revamp the options page and the chrome webstore page soon.

By default monospace uses three backticks (like markdown). Monospace will also reverse the start delimiter and use that as the end delimiters unless a custom end delimiter is specified. Pages will need to be refreshed to use the new delimiters.

If there are more than one line breaks in a row, monospace will reduce them to a single line break. This is due to limitations with how Facebook displays messages.

Removing items from the whitelist will prevent monospace from acting on that item. Currently the functionality of the whitelist is very basic.                    

확장 프로그램 기본 정보

이름 monospace monospace
ID bjeojhoaeoiaokmhbhnmnkfehhmmnafg
공식 URL https://chromewebstore.google.com/detail/monospace/bjeojhoaeoiaokmhbhnmnkfehhmmnafg
설명 Display monospaced and highlighted code blocks instantly in Chrome!
파일 크기 92.37 KB
설치 횟수 44
현재 버전 0.1.0
최근 업데이트 2015-02-13
출시 날짜 2015-02-13
평점 4.83/5 총 6 개의 평점
개발자 Tyler Chen
결제 유형 free
확장 프로그램 웹 사이트 https://github.com/tchen01/monospace
지원되는 언어 en-US
manifest.json
{
    "update_url": "https:\/\/clients2.google.com\/service\/update2\/crx",
    "manifest_version": 2,
    "name": "monospace",
    "version": "0.1.0",
    "description": "Display monospaced and highlighted code blocks instantly in Chrome!",
    "options_page": "options.html",
    "permissions": [
        "storage"
    ],
    "icons": {
        "16": "icons\/icon16.png",
        "48": "icons\/icon48.png",
        "128": "icons\/icon128.png"
    },
    "web_accessible_resources": [
        "app.js",
        "facebook\/*",
        "highlight\/highlight.pack.js",
        "highlight\/styles\/*"
    ],
    "content_scripts": [
        {
            "matches": [
                "http:\/\/*.facebook.com\/*",
                "https:\/\/*.facebook.com\/*"
            ],
            "css": [
                "main.css"
            ],
            "js": [
                "facebook\/background.js"
            ]
        },
        {
            "matches": [
                "*:\/\/*\/*.js",
                "*:\/\/*\/*.css",
                "*:\/\/*\/*.py",
                "file:\/\/\/*.js",
                "file:\/\/\/*.css",
                "file:\/\/\/*.py"
            ],
            "css": [
                "main.css"
            ],
            "js": [
                "highlight\/highlight.pack.js",
                "app.js",
                "files.js"
            ]
        }
    ]
}