macro_railroad

Generate syntax diagrams for `macro_rules!()` on docs.rs and doc.rust-lang.org

什麼是macro_railroad?

macro_railroad是由Lukas Lueg開發的Chrome擴展程式,該擴展的主要功能是“Generate syntax diagrams for `macro_rules!()` on docs.rs and doc.rust-lang.org”。

擴展截圖

screenshot
screenshot
screenshot

下載macro_railroad擴展crx文件

下載macro_railroad擴展crx格式的文件,手動將Chrome擴充功能安裝到瀏覽器中,也可以將crx文件分享給朋友,輕鬆安裝Chrome擴充功能。

擴展使用說明

                        Using the `macro_railroad`-library this extension generates syntax diagrams for all macros generated by `rustdoc`. The diagrams are shown beneath each macro-block.

**Note**: The only reason this extension requests access to `file:///*` is local documentation. No data is ever transferred.

Use the icons in the lower right corner to control options and expand the diagram to fullscreen.

This extension is open source, contributions are very welcome: https://github.com/lukaslueg/macro_railroad_ext                    

擴展基本資訊

名稱 macro_railroad macro_railroad
ID jeinhnlccpembeoccdhdpnolnmkfcblp
官方網址 https://chromewebstore.google.com/detail/macrorailroad/jeinhnlccpembeoccdhdpnolnmkfcblp
簡介 Generate syntax diagrams for `macro_rules!()` on docs.rs and doc.rust-lang.org
檔案大小 90.43 KB
安裝次數 121
目前版本 0.0.7
更新時間 2022-08-12
上架時間 2020-03-02
評分 5.00/5 共 4 次評分
開發者 Lukas Lueg
電子郵箱 [email protected]
付費類型 free
擴展官網 https://github.com/lukaslueg/macro_railroad_ext
說明頁面URL https://github.com/lukaslueg/macro_railroad_ext/issues
支援的語言 en
manifest.json
{
    "update_url": "https:\/\/clients2.google.com\/service\/update2\/crx",
    "manifest_version": 2,
    "name": "macro_railroad",
    "version": "0.0.7",
    "description": "Generate syntax diagrams for `macro_rules!()` on docs.rs and doc.rust-lang.org",
    "author": "Lukas Lueg ",
    "icons": {
        "48": "icons\/icon48.png",
        "96": "icons\/icon96.png"
    },
    "content_scripts": [
        {
            "matches": [
                "*:\/\/*.docs.rs\/*",
                "*:\/\/doc.rust-lang.org\/*",
                "file:\/\/\/*"
            ],
            "js": [
                "content_scripts\/macro_railroad_ext.js",
                "content_scripts\/main.js"
            ]
        }
    ],
    "options_ui": {
        "page": "options\/options.html"
    },
    "web_accessible_resources": [
        "wasm\/macro_railroad_ext.wasm",
        "assets\/fullscreen.svg",
        "assets\/options.svg",
        "assets\/macro_railroad_ext.css"
    ]
}