mirror of https://github.com/sgoudham/carbon.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1.6 KiB
1.6 KiB
Contributing
If you have discovered a bug or have a feature suggestion, feel free to create an issue on GitHub.
If you'd like to make some changes yourself, see the following:
- Fork this repository to your own GitHub account and then clone it to your local device
- Make sure yarn is globally installed (
npm install -g yarn
) - Run
yarn
to download required packages. - Build and start the application:
yarn dev
- If you contributed something new, run
yarn contrib:add <your GitHub username>
to add yourself below - Finally, submit a pull request with your changes!
This project follows the all-contributors specification. Contributions of any kind are welcome!
A note on adding themes/languages
We're happy to accept any PRs adding new themes and languages to Carbon! Currently there are a few ways to do so:
-
If the theme or language is supported in Codemirror, all you have to do is add a constant for it.
-
If it's not supported, you can add a Codemirror compliant custom theme or custom mode to implement it and add a constant like above.