Fix link to custom modes in README (#326)

* Fix link to custom modes

* update link to root custom directory
main
Max Riveiro 7 years ago committed by Brian Dennis
parent 009aafbe32
commit e90870227b

@ -70,7 +70,7 @@ We're happy to accept any PRs adding new themes and languages to Carbon! Current
1. If the [theme](https://codemirror.net/demo/theme.html) or [language](https://codemirror.net/mode/index.html) is supported in Codemirror, all you have to do is add a [constant](https://github.com/dawnlabs/carbon/blob/master/lib/constants.js) for it. 1. If the [theme](https://codemirror.net/demo/theme.html) or [language](https://codemirror.net/mode/index.html) is supported in Codemirror, all you have to do is add a [constant](https://github.com/dawnlabs/carbon/blob/master/lib/constants.js) for it.
2. If it's not supported, you can add a Codemirror compliant [custom file](https://github.com/dawnlabs/carbon/tree/master/lib/customModes) to implement it and add a constant like above. 2. If it's not supported, you can add a Codemirror compliant [custom file](https://github.com/dawnlabs/carbon/tree/master/lib/custom) to implement it and add a constant like above.
## Thanks To ## Thanks To
[ ▲ ZEIT ](https://zeit.co/) for sponsoring Carbon's hosting. [ ▲ ZEIT ](https://zeit.co/) for sponsoring Carbon's hosting.

Loading…
Cancel
Save