Нема описа

Alexandru Dima c8755ac4cd Merge pull request #75 from microsoft/dependabot/npm_and_yarn/ini-1.3.8 пре 4 година
.vscode 780a5b6022 Run prettier пре 4 година
browser-amd-diff-editor c5586a25cf Update `printWidth` to 100 пре 4 година
browser-amd-editor c5586a25cf Update `printWidth` to 100 пре 4 година
browser-amd-iframe c5586a25cf Update `printWidth` to 100 пре 4 година
browser-amd-localized c5586a25cf Update `printWidth` to 100 пре 4 година
browser-amd-monarch c5586a25cf Update `printWidth` to 100 пре 4 година
browser-amd-requirejs c5586a25cf Update `printWidth` to 100 пре 4 година
browser-amd-shadow-dom c5586a25cf Update `printWidth` to 100 пре 4 година
browser-amd-shared-model c5586a25cf Update `printWidth` to 100 пре 4 година
browser-esm-parcel 84cb0e62a3 Restore example пре 4 година
browser-esm-webpack 9a7dd62fff Fix samples (microsoft/monaco-editor#2212) пре 4 година
browser-esm-webpack-monaco-plugin 6950069f37 Remove X-UA-Compatible meta пре 4 година
browser-esm-webpack-small 9a7dd62fff Fix samples (microsoft/monaco-editor#2212) пре 4 година
browser-esm-webpack-typescript 9a7dd62fff Fix samples (microsoft/monaco-editor#2212) пре 4 година
browser-esm-webpack-typescript-react 9a7dd62fff Fix samples (microsoft/monaco-editor#2212) пре 4 година
browser-script-editor c5586a25cf Update `printWidth` to 100 пре 4 година
electron-amd 35ca8c06e4 Bump ini from 1.3.5 to 1.3.8 in /electron-amd пре 4 година
electron-amd-nodeIntegration f29d232c48 Bump ini from 1.3.5 to 1.3.8 in /electron-amd-nodeIntegration пре 4 година
nwjs-amd c5586a25cf Update `printWidth` to 100 пре 4 година
nwjs-amd-v2 c5586a25cf Update `printWidth` to 100 пре 4 година
.gitignore eebf585fc3 nwjs пре 8 година
.npmignore 6dcc1c017d Initial version пре 9 година
.prettierignore c5586a25cf Update `printWidth` to 100 пре 4 година
.prettierrc c5586a25cf Update `printWidth` to 100 пре 4 година
LICENSE.md 780a5b6022 Run prettier пре 4 година
README.md 780a5b6022 Run prettier пре 4 година
package-lock.json 07c0037bae Bump ini from 1.3.5 to 1.3.8 пре 4 година
package.json c5586a25cf Update `printWidth` to 100 пре 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