prettifyAddins: 'RStudio' Addins to Prettify 'JavaScript', 'C++', 'Python', and More

Provides 'RStudio' addins to prettify 'HTML', 'CSS', 'SCSS', 'JavaScript', 'JSX', 'Markdown', 'C(++)', 'LaTeX', 'Python', 'Julia', 'XML', 'Java', 'JSON', 'Ruby', and to reindent 'C(++)', 'Fortran', 'Java', 'Julia', 'Python', 'SAS', 'Scala', 'Shell', 'SQL' and "TypeScript". Two kinds of addins are provided: 'Prettify' and 'Indent'. The 'Indent' addins only reindent the code, while the 'Prettify' addins also modify the code, e.g. trailing semi-colons are added to 'JavaScript' code when they are missing.

Getting started

Package details

AuthorStéphane Laurent [aut, cre], James Long and contributors [cph] ('Prettier' library), Zeb Zhao [cph] ('indent.js' library), Marijn Haverbeke [cph] ('CodeMirror' library), George Leslie-Waksman and other contributors [cph] ('sql-formatter' library), Austin Cheney [cph] ('prettydiff' library)
MaintainerStéphane Laurent <>
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:

Try the prettifyAddins package in your browser

Any scripts or data that you put into this service are public.

prettifyAddins documentation built on Jan. 25, 2022, 5:09 p.m.