react-selector-to-tag

Create HTML tag elements using CSS selectors in HTML files

jpstokes

365

1

1.3.0

MIT

GitHub

Selector to Tag Build Status

Selector to Tag is an Atom editor package that allows you to create HTML tag elements using CSS selectors in HTML files.

Just type a CSS selector and press TAB :

Demo animation

Demo animation 2

Supported selectors

For now the following selectors are possible:

Selector Output
foo <foo></foo> (when Solve Plain Tags option is enabled (default true))
foo#bar <foo id="bar"></foo>
#foo <div id="foo"></div>
.foo <div class="foo"></div>
foo.bar <foo class="bar"></foo>
foo.bar.baz <foo class="bar baz"></foo>
foo#bar.baz <foo id="bar" class="baz"></foo>
foo#bar.baz.qux <foo id="bar" class="baz qux"></foo>

Options

##Support

If you have any sugestions for other selectors or sugestions in general, please submit an issue on GitHub.