mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 20:52:56 +01:00
Extract playground samples from mdoc, add possiblity to run them from source
This commit is contained in:
parent
df6136ea12
commit
5b86272f55
103 changed files with 3126 additions and 21 deletions
|
|
@ -0,0 +1,7 @@
|
|||
// The editor exposes a set of CSS classes that can be overwritten.
|
||||
monaco.editor.create(document.getElementById("container"), {
|
||||
value: "My to-do list:\n* buy milk\n* buy coffee\n* write awesome code",
|
||||
language: "text/plain",
|
||||
fontFamily: "Arial",
|
||||
fontSize: 20
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue