Last active

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

Sublime build for HAML->HTML automatic conversion

View sublime_haml_to_html.json
1 2 3 4 5 6 7 8 9 10 11 12
{
"cmd": ["haml"],
"working_dir": "${file_path:${folder}}",
"selector": "source.haml",
"file_regex": "(.*\\.ts?)\\s\\(([0-9]+)\\,([0-9]+)\\)\\:\\s(...*?)$",
 
"windows":
{
"cmd": ["haml", "--trace", "$file", "${file_base_name}.html"],
"shell": "true"
}
}

This will not work with Automatic build system. You need to update that selector to text.haml
"selector": "text.haml"

Reference: http://stackoverflow.com/questions/27154136/build-haml-automatic-in-sublime-3-doesnt-work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.