sample.js 268 B

1234567
  1. // The editor exposes a set of CSS classes that can be overwritten.
  2. monaco.editor.create(document.getElementById("container"), {
  3. value: "My to-do list:\n* buy milk\n* buy coffee\n* write awesome code",
  4. language: "text/plain",
  5. fontFamily: "Arial",
  6. fontSize: 20
  7. });