macro_railroad

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

What is macro_railroad?

macro_railroad is a Chrome extension developed by Lukas Lueg, and its main feature is "Generate syntax diagrams for `macro_rules!()` on docs.rs and doc.rust-lang.org".

Extension Screenshots

screenshot
screenshot
screenshot

Download macro_railroad Extension CRX File

Download macro_railroad 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

                        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                    

Extension Basic Information

Name macro_railroad macro_railroad
ID jeinhnlccpembeoccdhdpnolnmkfcblp
Official URL https://chromewebstore.google.com/detail/macrorailroad/jeinhnlccpembeoccdhdpnolnmkfcblp
Description Generate syntax diagrams for `macro_rules!()` on docs.rs and doc.rust-lang.org
File Size 90.43 KB
Installation Count 121
Current Version 0.0.7
Last Updated 2022-08-12
Publish Date 2020-03-02
Rating 5.00/5 Total 4 Ratings
Developer Lukas Lueg
Email [email protected]
Payment Type free
Extension Website https://github.com/lukaslueg/macro_railroad_ext
Help Page URL https://github.com/lukaslueg/macro_railroad_ext/issues
Supported Languages 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"
    ]
}