mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 18:32:56 +01:00
Merge pull request #3210 from remcohaszing/fix-contributing-instructions
Document samples are needed when adding a language
This commit is contained in:
commit
39a8b976ff
1 changed files with 1 additions and 0 deletions
|
|
@ -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}.ts`
|
||||||
- create `$/src/basic-languages/{myLang}/{myLang}.test.ts`
|
- create `$/src/basic-languages/{myLang}/{myLang}.test.ts`
|
||||||
- edit `$/src/basic-languages/monaco.contribution.ts` and register your new language
|
- edit `$/src/basic-languages/monaco.contribution.ts` and register your new language
|
||||||
|
- create `$/website/index/samples/sample.{myLang}.txt`
|
||||||
|
|
||||||
```js
|
```js
|
||||||
import './{myLang}/{myLang}.contribution';
|
import './{myLang}/{myLang}.contribution';
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue