Sublime Forum

How can I convert HAML, Jade to HTML in ST3?

#1

I want to convert my HAML as well as Jade in ST3. Please show me the procedures; thanks!

PS: node apps are installed and its working in my “prepros app”. I want to done it via ST3 to increase work speed; thanks!
[Dont like too much strict rules of prepros or processing either]

0 Likes

#2

It’s hard to say how you can accomplish what it is you want to do because you’re asking how to do it without saying what exactly it is that you’re trying to do (i.e. your question is only clear to people who know what HAML and Jade are, what they’re used for, and how they work).

If you can provide a step by step list of the steps you would need to take to manually perform one of these conversions, someone may be able to help you create a sublime-build file that will do what you want.

0 Likes

#3

I want to convert my HAML, Jade to HTML; hope it makes sense.

0 Likes

#4

https://packagecontrol.io/packages/HTML2Haml
https://packagecontrol.io/packages/HTML2Jade

though probably they only convert in one direction - consider logging an issue for those packages (if one doesn’t already exist) to ask for a conversion back again - then can convert from HAML to HTML to Jade, then back to HTML and back to HAML if desired :wink:

0 Likes

#5

I am speechless… :smirk:

0 Likes