iskandarjamil / convert-html-to-js

Convert html elements into JavaSript array or string.
MIT License
1 stars 0 forks source link

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