Fork the xrpl-dev-portal repo. Using git, clone the fork to your computer.
Add your sample code to the content/_code-samples folder. Be sure to include a README.md that summarizes what it does and anything else people should know about it.
Commit your changes and push them to your fork on GitHub.
Open a pull request to the original repo. Maintainers will review your submission and suggest changes if necessary. If the code sample is helpful, it’ll be merged and added to XRPL.org!
Fork the xrpl-dev-portal repo. Using git, clone the fork to your computer.
Add your sample code to the content/_code-samples folder. Be sure to include a README.md that summarizes what it does and anything else people should know about it.
Commit your changes and push them to your fork on GitHub.
Open a pull request to the original repo. Maintainers will review your submission and suggest changes if necessary. If the code sample is helpful, it’ll be merged and added to XRPL.org!