Sin descripción

Alexandru Dima aa82857f6d Merge pull request #80 from microsoft/dependabot/npm_and_yarn/browser-esm-parcel/browserslist-4.16.6 hace 4 años
.vscode 780a5b6022 Run prettier hace 4 años
browser-amd-diff-editor c5586a25cf Update `printWidth` to 100 hace 4 años
browser-amd-editor c5586a25cf Update `printWidth` to 100 hace 4 años
browser-amd-iframe c5586a25cf Update `printWidth` to 100 hace 4 años
browser-amd-localized c5586a25cf Update `printWidth` to 100 hace 4 años
browser-amd-monarch c5586a25cf Update `printWidth` to 100 hace 4 años
browser-amd-requirejs c5586a25cf Update `printWidth` to 100 hace 4 años
browser-amd-shadow-dom c5586a25cf Update `printWidth` to 100 hace 4 años
browser-amd-shared-model c5586a25cf Update `printWidth` to 100 hace 4 años
browser-esm-parcel 89b597c1e8 Bump browserslist from 4.16.3 to 4.16.6 in /browser-esm-parcel hace 4 años
browser-esm-webpack 86ee17e305 Improve scripts such that they work also on Windows hace 4 años
browser-esm-webpack-monaco-plugin 86ee17e305 Improve scripts such that they work also on Windows hace 4 años
browser-esm-webpack-small a3db9c0c16 update deps hace 4 años
browser-esm-webpack-typescript 86ee17e305 Improve scripts such that they work also on Windows hace 4 años
browser-esm-webpack-typescript-react 83d3e7abcf Bump lodash in /browser-esm-webpack-typescript-react hace 4 años
browser-script-editor c5586a25cf Update `printWidth` to 100 hace 4 años
electron-amd 830e5bbd42 Share `electron` in the root `package.json` hace 4 años
electron-amd-nodeIntegration a3db9c0c16 update deps hace 4 años
electron-esm-webpack 72e42c9b4b Add an electron esm sample hace 4 años
nwjs-amd c5586a25cf Update `printWidth` to 100 hace 4 años
nwjs-amd-v2 c5586a25cf Update `printWidth` to 100 hace 4 años
.gitignore eebf585fc3 nwjs hace 8 años
.npmignore 6dcc1c017d Initial version hace 9 años
.prettierignore c5586a25cf Update `printWidth` to 100 hace 4 años
.prettierrc c5586a25cf Update `printWidth` to 100 hace 4 años
LICENSE.md 780a5b6022 Run prettier hace 4 años
README.md 780a5b6022 Run prettier hace 4 años
SECURITY.md 6cfca9c29d Add SECURITY.md hace 4 años
package-lock.json 7a150ace74 Bump postcss from 8.2.7 to 8.2.15 hace 4 años
package.json a3db9c0c16 update deps hace 4 años

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