Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for HTMLC #298

Closed
wants to merge 1 commit into from
Closed

Add support for HTMLC #298

wants to merge 1 commit into from

Conversation

arturhood
Copy link

@arturhood arturhood commented Oct 31, 2017

HTMLC is a preprocessor that allows users to write css ID's & classes using '#' or '.' for example: <div#head>Lorem</div#head> --changed to--> <div id='head'>Lorem</div>

My motivation for adding this is because vue-loader (from the Vue.js framework) uses consolidate.js for preprocessing html templates. It is very convenient to be able to set ' lang="htmlc" ' at the top of a .vue file (which is processed by vue-loader into html/css), then be able to write htmlc like a rockstar.

HTMLC is a preprocessor that allows users to write css ID's & classes using '#' or '.' i.e. <div#head>Lorem Ipsum</div#head>
@doowb
Copy link
Collaborator

doowb commented Nov 1, 2017

@arturhood, thanks for the PR!

Please add tests and update the README with a link to the template engine.

@niftylettuce
Copy link
Collaborator

@arturhood if you fix conflicts, please submit a new PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants