RStudio addin to add/remove html comments to highlighted text

htmlcommentr()

Details

Highlighting text will add html comment tags around it

Highlighting commented text will remove tags.

Highlighting

Something COMMENT Something

Something <!-- COMMENT --> Something

New Comment

Something COMMENT [cursor here] Something

Something COMMENT <!-- --> Something

Start of Row

[cursor here] Something COMMENT Something

<!-- Something COMMENT Something -->

Highlighting Multiple rows

Something COMMENT Something

Something COMMENT Something

<!-- Something COMMENT Something

Something COMMENT Something -->

Examples

if (FALSE) { remedy_example( c( "<b>This is bold</b>"), htmlcommentr) }