Aucune description

Alex Dima 441be95ef7 update deps il y a 4 ans
.vscode 780a5b6022 Run prettier il y a 4 ans
browser-amd-diff-editor 780a5b6022 Run prettier il y a 4 ans
browser-amd-editor 780a5b6022 Run prettier il y a 4 ans
browser-amd-iframe 780a5b6022 Run prettier il y a 4 ans
browser-amd-localized 780a5b6022 Run prettier il y a 4 ans
browser-amd-monarch 780a5b6022 Run prettier il y a 4 ans
browser-amd-requirejs 780a5b6022 Run prettier il y a 4 ans
browser-amd-shared-model 780a5b6022 Run prettier il y a 4 ans
browser-esm-parcel 6c6bde9595 update deps il y a 4 ans
browser-esm-webpack 780a5b6022 Run prettier il y a 4 ans
browser-esm-webpack-monaco-plugin 441be95ef7 update deps il y a 4 ans
browser-esm-webpack-small 364aa1f427 Fixes microsoft/monaco-editor#2078 il y a 4 ans
browser-esm-webpack-typescript 6c6bde9595 update deps il y a 4 ans
browser-esm-webpack-typescript-react e104ffa598 update more deps il y a 4 ans
browser-script-editor 780a5b6022 Run prettier il y a 4 ans
browser-undo-redo-controls 780a5b6022 Run prettier il y a 4 ans
electron-amd 780a5b6022 Run prettier il y a 4 ans
electron-amd-nodeIntegration 780a5b6022 Run prettier il y a 4 ans
nwjs-amd 780a5b6022 Run prettier il y a 4 ans
nwjs-amd-v2 780a5b6022 Run prettier il y a 4 ans
.gitignore eebf585fc3 nwjs il y a 8 ans
.npmignore 6dcc1c017d Initial version il y a 9 ans
.prettierrc 780a5b6022 Run prettier il y a 4 ans
LICENSE.md 780a5b6022 Run prettier il y a 4 ans
README.md 780a5b6022 Run prettier il y a 4 ans
package-lock.json 9dd7846d25 Add prettier il y a 4 ans
package.json 9dd7846d25 Add prettier il y a 4 ans

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