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

Haml is independent of HTML #2586

Closed
wants to merge 1 commit into from

Conversation

HamptonMakes
Copy link

I'm just on a tear today separating out my languages... ;)

My argument is that Haml should be independent of HTML, because it doesn't look at all like HTML, has a ton of other features, helpers, etc that make it different than HTML.

Also, Handlebars is considered distinct from HTML, and then so should Haml.

.haml: 1.1 million files https://github.com/search?utf8=%E2%9C%93&q=extension%3Ahaml+NOT+nothack&type=Code&ref=searchresults
.hbs: 300k https://github.com/search?utf8=%E2%9C%93&q=extension%3Ahbs+NOT+nothack&type=Code&ref=searchresults
.handlebars: 98k https://github.com/search?utf8=%E2%9C%93&q=extension%3Ahandlebars+NOT+nothack&type=Code&ref=searchresults

We'd really like to be able to track usage of Haml around the internet better than is indicated by keeping it as just a flavour of HTML.

Thanks!

@arfon
Copy link
Contributor

arfon commented Sep 8, 2015

Also, Handlebars is considered distinct from HTML, and then so should Haml.

I'd actually argue this is an error in Linguist (that we should fix). Currently we have lots of the HTML templating languages under group: HTML:

We'd really like to be able to track usage of Haml around the internet better than is indicated by keeping it as just a flavour of HTML.

I'm definitely sympathetic to this but I'm curious what 'tracking' you're talking about here. Being in the HTML group doesn't stop HAML from being segmented in our search:

screen_shot_2015-09-08_at_12_20_50_pm

cc @aroben here as he might have some thoughts on the segmentation of markup languages.

@aroben
Copy link
Contributor

aroben commented Sep 14, 2015

I'm curious what 'tracking' you're talking about here. Being in the HTML group doesn't stop HAML from being segmented in our search:

I think this only affects the language stats bar on the repo page.

@HamptonMakes
Copy link
Author

@HamptonMakes
Copy link
Author

Since you've moved Handlebars into the same type of group, we're all good. ;)

@arfon
Copy link
Contributor

arfon commented Sep 14, 2015

Since you've moved Handlebars into the same type of group, we're all good. ;)

👍

@github-linguist github-linguist locked as resolved and limited conversation to collaborators Jun 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants