Generate syntax diagrams for `macro_rules!()` on docs.rs and doc.rust-lang.org
Generate syntax diagrams for `macro_rules!()`
"macro_railroad" is an Edge add-on that generates syntax diagrams for macros created with `rustdoc`. It displays the diagrams beneath each macro-block and allows for customization options.
Add-on stats
Ranking
# 9,323
Want to check extension ranking and stats more quickly for other Edge add-ons?
Install
Chrome-Stats extension
to view Edge-Stats data as you browse the Edge Add-on Store.
Add-on summary
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
Add-on safety
Risk impact
macro_railroad requires very minimum permissions.
Risk likelihood
macro_railroad has earned a fairly good reputation and likely can be trusted.
Upgrade to see risk analysis details