{"id":13941783,"url":"https://github.com/stla/monaco","last_synced_at":"2025-04-14T14:24:35.975Z","repository":{"id":56935174,"uuid":"304426025","full_name":"stla/monaco","owner":"stla","description":"Yet another second editor in RStudio.","archived":false,"fork":false,"pushed_at":"2022-05-18T08:52:26.000Z","size":5610,"stargazers_count":11,"open_issues_count":1,"forks_count":3,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-03-28T03:24:25.228Z","etag":null,"topics":["htmlwidgets","monaco-editor","r","rstudio"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stla.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.note","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-10-15T19:17:05.000Z","updated_at":"2025-03-22T10:30:46.000Z","dependencies_parsed_at":"2022-08-21T05:50:11.586Z","dependency_job_id":null,"html_url":"https://github.com/stla/monaco","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stla%2Fmonaco","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stla%2Fmonaco/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stla%2Fmonaco/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stla%2Fmonaco/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stla","download_url":"https://codeload.github.com/stla/monaco/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248895499,"owners_count":21179248,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["htmlwidgets","monaco-editor","r","rstudio"],"created_at":"2024-08-08T02:01:28.690Z","updated_at":"2025-04-14T14:24:35.947Z","avatar_url":"https://github.com/stla.png","language":"JavaScript","readme":"# monaco: the Monaco editor as a HTML widget\n\n**Yet another second editor in RStudio.** \n\nThe Monaco editor is the code editor which powers 'VS Code'. It is particularly\nwell developed for JavaScript. In addition to the built-in features of the \nMonaco editor, the widget allows to prettify multiple languages, to view the \nHTML rendering of Markdown code, and to view and resize SVG images.\n\n![](https://raw.githubusercontent.com/stla/monaco/main/inst/screenshots/monacoJS.gif)\n\nWith the help of `htmltools::browsable`, one can open two Monaco editors in the \nRStudio viewer pane:\n\n![](https://raw.githubusercontent.com/stla/monaco/main/inst/screenshots/monacoBrowsable.gif)\n\nThe Monaco editor has [many options](https://microsoft.github.io/monaco-editor/api/interfaces/Window.html). \nIf you would like some of them to be available in the `monaco` package, please \nfill an issue.\n\nAs any HTML widget, the Monaco editor widget can be used in Shiny apps:\n\n![](https://raw.githubusercontent.com/stla/monaco/main/inst/screenshots/customRangeInput.gif)\n\nThis app uses the `sass` package to compile some SCSS code to CSS code. It is \none of the examples provided in the `monaco` package.\n\n\n### Related projects\n\n- [shinyMonacoEditor](https://github.com/stla/shinyMonacoEditor): the Monaco \neditor in a sophisticated Shiny app. It is more developed than the `monaco` \nwidget but using the Shiny app locks RStudio.\n- [aceEditor](https://github.com/stla/aceEditor): the Ace editor as a HTML \nwidget. \n","funding_links":[],"categories":["JavaScript","UI Components"],"sub_categories":["Editor"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstla%2Fmonaco","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstla%2Fmonaco","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstla%2Fmonaco/lists"}