Convert HTML elements into JavaSript array or string.
Select some HTML, Open the Command Palette, and type htmltojs
.
You can also select the contextual menu > HTML to JS
or the package menu
'atom-workspace':
'your-key-combine': 'html-to-javascript:convert-array',
'your-key-combine': 'html-to-javascript:convert-string',
'your-key-combine': 'html-to-javascript:convert-array-double-quote',
'your-key-combine': 'html-to-javascript:convert-string-double-quote',
'your-key-combine': 'html-to-javascript:convert-reverse',
'your-key-combine': 'html-to-javascript:convert-reverse-double-quote',