convert-html-to-js

Convert html elements into JavaSript array or string.

Iskandar Jamil

1,435

1

1.0.3

MIT

GitHub

Convert Html to JavaScript

Convert HTML elements into JavaSript array or string.

Example

A screenshot of your package

Usage

Select some HTML, Open the Command Palette, and type htmltojs.

You can also select the contextual menu > HTML to JS or the package menu

List of custom keyboard shortcuts available

'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',