playground.html 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  5. <meta name="viewport" content="width=device-width" />
  6. <title>Monaco Editor Playground</title>
  7. <link data-inline="yes-please" href="./lib/bootstrap-cosmo.css" rel="stylesheet" />
  8. <link data-inline="yes-please" href="./lib/bootstrap-responsive.min.css" rel="stylesheet" />
  9. <link data-inline="yes-please" href="./all.css" rel="stylesheet" type="text/css" />
  10. <link data-inline="yes-please" href="./playground/spinner.css" rel="stylesheet" />
  11. <link data-inline="yes-please" href="./playground/playground.css" rel="stylesheet" />
  12. <link
  13. data-name="vs/editor/editor.main"
  14. rel="stylesheet"
  15. href="../../release/dev/vs/editor/editor.main.css"
  16. />
  17. </head>
  18. <body class="playground-page">
  19. <pre data-preload="playground/new-samples/creating-the-editor/hello-world/sample.js"></pre>
  20. <pre data-preload="playground/new-samples/creating-the-editor/hello-world/sample.css"></pre>
  21. <pre data-preload="playground/new-samples/creating-the-editor/hello-world/sample.html"></pre>
  22. <a id="gh-link" href="https://github.com/microsoft/monaco-editor"
  23. ><img width="149" height="149" alt="Fork me on GitHub" src="./fork.png"
  24. /></a>
  25. <nav class="navbar navbar-inverse navbar-fixed-top">
  26. <div class="navbar-inner">
  27. <div class="container">
  28. <div class="logo">
  29. <a href="index.html">Monaco Editor</a>
  30. </div>
  31. <!-- collapse button for smaller screens -->
  32. <button
  33. type="button"
  34. class="btn btn-navbar"
  35. data-toggle="collapse"
  36. data-target=".nav-collapse"
  37. >
  38. <span class="icon-bar"></span>
  39. <span class="icon-bar"></span>
  40. <span class="icon-bar"></span>
  41. </button>
  42. <!-- navbar title -->
  43. <div class="nav-collapse collapse">
  44. <ul class="nav">
  45. <li><a class="nav-item" href="index.html">Home</a></li>
  46. <li><a class="nav-item" href="api/index.html">API Doc</a></li>
  47. <li><a class="nav-item" href="playground.html">Playground</a></li>
  48. <li><a class="nav-item" href="monarch.html">Monarch</a></li>
  49. <li>
  50. <a
  51. class="nav-item"
  52. target="_blank"
  53. href="https://registry.npmjs.org/monaco-editor/-/monaco-editor-{{version}}.tgz"
  54. >Download {{version}}</a
  55. >
  56. </li>
  57. </ul>
  58. </div>
  59. </div>
  60. </div>
  61. </nav>
  62. <div id="loading">
  63. <div class="spinner">
  64. <div class="rect1"></div>
  65. <div class="rect2"></div>
  66. <div class="rect3"></div>
  67. <div class="rect4"></div>
  68. <div class="rect5"></div>
  69. </div>
  70. </div>
  71. <section id="playground"></section>
  72. <footer class="container">
  73. <hr />
  74. <p class="text-center">
  75. <small>&copy; {{year}} Microsoft</small>
  76. </p>
  77. </footer>
  78. <script
  79. src="https://cdnjs.cloudflare.com/ajax/libs/jquery/1.9.1/jquery.min.js"
  80. integrity="sha256-wS9gmOZBqsqWxgIVgA8Y9WcQOa7PgSIX+rPA0VL2rbQ="
  81. crossorigin="anonymous"
  82. ></script>
  83. <script
  84. src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/2.3.0/bootstrap.min.js"
  85. integrity="sha256-u+l2mGjpmGK/mFgUncmMcFKdMijvV+J3odlDJZSNUu8="
  86. crossorigin="anonymous"
  87. ></script>
  88. <script>
  89. var require = { paths: { vs: '../../release/dev/vs' } };
  90. </script>
  91. <script src="../../release/dev/vs/loader.js"></script>
  92. <script src="../../release/dev/vs/editor/editor.main.nls.js"></script>
  93. <script src="../../release/dev/vs/editor/editor.main.js"></script>
  94. <script data-inline="yes-please" src="./playground/new-samples/all.js"></script>
  95. <script data-inline="yes-please" src="./playground/playground.js"></script>
  96. </body>
  97. </html>