1
0

Тайлбар байхгүй

Alex Dima 4b25f66566 Reuse common `node_modules` (reduce maintenance) 4 жил өмнө
.vscode 780a5b6022 Run prettier 4 жил өмнө
browser-amd-diff-editor 780a5b6022 Run prettier 4 жил өмнө
browser-amd-editor 780a5b6022 Run prettier 4 жил өмнө
browser-amd-iframe 780a5b6022 Run prettier 4 жил өмнө
browser-amd-localized 780a5b6022 Run prettier 4 жил өмнө
browser-amd-monarch 780a5b6022 Run prettier 4 жил өмнө
browser-amd-requirejs 780a5b6022 Run prettier 4 жил өмнө
browser-amd-shared-model 780a5b6022 Run prettier 4 жил өмнө
browser-esm-parcel 4b25f66566 Reuse common `node_modules` (reduce maintenance) 4 жил өмнө
browser-esm-webpack 4b25f66566 Reuse common `node_modules` (reduce maintenance) 4 жил өмнө
browser-esm-webpack-monaco-plugin 4b25f66566 Reuse common `node_modules` (reduce maintenance) 4 жил өмнө
browser-esm-webpack-small 4b25f66566 Reuse common `node_modules` (reduce maintenance) 4 жил өмнө
browser-esm-webpack-typescript 4b25f66566 Reuse common `node_modules` (reduce maintenance) 4 жил өмнө
browser-esm-webpack-typescript-react 4b25f66566 Reuse common `node_modules` (reduce maintenance) 4 жил өмнө
browser-script-editor 780a5b6022 Run prettier 4 жил өмнө
electron-amd 780a5b6022 Run prettier 4 жил өмнө
electron-amd-nodeIntegration 780a5b6022 Run prettier 4 жил өмнө
nwjs-amd 780a5b6022 Run prettier 4 жил өмнө
nwjs-amd-v2 780a5b6022 Run prettier 4 жил өмнө
.gitignore eebf585fc3 nwjs 8 жил өмнө
.npmignore 6dcc1c017d Initial version 9 жил өмнө
.prettierrc 780a5b6022 Run prettier 4 жил өмнө
LICENSE.md 780a5b6022 Run prettier 4 жил өмнө
README.md 780a5b6022 Run prettier 4 жил өмнө
package-lock.json 4b25f66566 Reuse common `node_modules` (reduce maintenance) 4 жил өмнө
package.json 4b25f66566 Reuse common `node_modules` (reduce maintenance) 4 жил өмнө

README.md

Monaco Editor Samples

Standalone HTML samples showing how to integrate the Monaco Editor.

Running

git clone https://github.com/Microsoft/monaco-editor-samples.git
cd monaco-editor-samples
npm install .
npm run simpleserver

Go to localhost:8888 and explore the samples!

Issues

Please file issues concering monaco-editor-samples in the monaco-editor repository.

Loading variations

  • browser-amd-editor: running in a browser using AMD lazy loading.
  • browser-script-editor: running in a browser using AMD synchronous loading via <script> tags.
  • browser-esm-webpack: running in a browser using webpack.
  • browser-esm-webpack-small: running in a browser using webpack (only a subset of the editor).
  • electron-amd: running in electron.
  • nwjs-amd and nwjs-amd-v2: running in nwjs. it is reported that v2 works and the initial version does not.

Other examples & techniques

  • browser-amd-diff-editor: running the diff editor in a browser.
  • browser-amd-iframe: running in an <iframe>.
  • browser-amd-localized: running with the German locale.
  • browser-amd-monarch: running with a custom language grammar written with Monarch.
  • browser-amd-shared-model: using the same text model in two editors.

License

MIT