The 'Monaco' Editor in 'Shiny'

A 'Shiny' app including the 'Monaco' editor. The 'Monaco' editor is the code editor which powers 'VS Code'. It is particularly well developed for 'JavaScript'. In addition to the 'Monaco' editor features, the app provides prettifiers and minifiers for multiple languages, 'SCSS' and 'TypeScript' compilers, code checking for 'C' and 'C++' (requires 'cppcheck').


shinyMonacoEditor

The VS code editor in a Shiny app.

New feature in version 1.0.0: second editor

Some features:

  • C, C++: prettifier (requires clang-format), code checking (requires cppcheck)
  • CSS: prettifier, minifier
  • Java: prettifier (requires clang-format)
  • JavaScript: prettifier, minifier
  • JSX: prettifier
  • Markdown: prettifier, HTML rendering
  • R: prettifier
  • SCSS: prettifier, compiler
  • SVG: prettifier, code checking, viewer, resizer
  • TypeScript: prettifier, compiler
  • XML: prettifier

Copies of license agreements

The 'shinyMonacoEditor' package as a whole is distributed under GPL-3 (GNU GENERAL PUBLIC LICENSE version 3).

It includes other open source software components. The following is a list of these components:

Full copies of the license agreements used by these components are included in the file LICENSE.note.


Free icons

The 'shinyMonacoEditor' package includes some SVG icons found on the Free icons website. These icons are made by Free icons from https://www.freeicons.io/.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("shinyMonacoEditor")

1.1.0 by Stéphane Laurent, 6 years ago


https://github.com/stla/shinyMonacoEditor


Report a bug at https://github.com/stla/shinyMonacoEditor/issues


Browse source code at https://github.com/cran/shinyMonacoEditor


Authors: Stéphane Laurent [aut, cre] , Microsoft Corporation [ctb, cph] (Monaco Editor) , Brijesh Brittu [ctb, cph] (monaco-ace-tokenizer) , James Long and contributors [ctb, cph] (Prettier) , Leandro Vital [ctb, cph] (Bootstrap Flash Alert) , Daniel Eden [ctb, cph] (animate.css) , Adam Schwartz [ctb, cph] (chrome-tabs) , David DeSandro [ctb, cph] (Draggabilly) , JakubPawlowicz.com [ctb, cph] (clean-css) , Mihai Bazon [ctb, cph] (terser) , Juriy "kangax" Zaytsev [ctb, cph] (HTMLMinifier) , Rodney Rehm [ctb, cph] (Sass.js) , Rich Harris [ctb, cph] (svg-parser) , Lionel Tzatzkin [ctb, cph] (scale-that-svg) , Andrei Kashcha [ctb, cph] (panzoom) , Vitaly Puzrin [ctb, cph] (markdown-it) , Alex Kocharin [ctb, cph] (markdown-it) , John Schlinkert [ctb, cph] (word-wrap) , Terence Eden [ctb, cph] (SuperTinyIcons) , www.jeasyui.com [ctb, cph] (EasyUI)


Documentation:   PDF Manual  


GPL-3 license


Imports shiny

Suggests shinythemes, tools, styler, formatR, uchardet, shinyjqui, xml2


See at CRAN