Document samples are needed when adding a language

This commit is contained in:
Remco Haszing 2022-05-12 10:57:13 +02:00
parent aa4b5873ea
commit fbb29873f3
No known key found for this signature in database
GPG key ID: 40D9F5FE9155FD3C

View file

@ -19,6 +19,7 @@ Please understand that we only bundle languages with the monaco editor that have
- create `$/src/basic-languages/{myLang}/{myLang}.ts`
- create `$/src/basic-languages/{myLang}/{myLang}.test.ts`
- edit `$/src/basic-languages/monaco.contribution.ts` and register your new language
- create `$/website/index/samples/sample.{myLang}.txt`
```js
import './{myLang}/{myLang}.contribution';