Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for @custom tag #29

Open
0x6080 opened this issue Mar 6, 2022 · 1 comment
Open

Support for @custom tag #29

0x6080 opened this issue Mar 6, 2022 · 1 comment

Comments

@0x6080
Copy link

0x6080 commented Mar 6, 2022

While the standard comment tags (@notice, @dev, ..) work great, Solidity also provides support for @custom:<something>.

Although everyone's use-case will be slightly different from custom tag, it would be super helpful to get a how-to on how to add a custom tag support to docusaurus.sqrl, or even provide sample ones for a common custom tags such as for the events emitted from a function.

@clemlak
Copy link
Contributor

clemlak commented Mar 7, 2022

That's a good idea, I'm still not sure how to implement this though. Maybe the easiest way is to add custom tags to the JSON blob object generated by Dodoc and then let templates display these tags the way they want.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants