# Can I use Handlebars, mustache and etc?

**URL:** <https://forum.pinegrow.com/t/can-i-use-handlebars-mustache-and-etc/2035>\
**Category:** Beginners\
**Created:** [July 5, 2018, 7:21pm UTC](https://forum.pinegrow.com/t/can-i-use-handlebars-mustache-and-etc/2035 "2018-07-05T19:21:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![scottkoons](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/scottkoons/32/1312_2.png) [@scottkoons](https://forum.pinegrow.com/u/scottkoons)\
**Post date:** [July 5, 2018, 7:21pm UTC](https://forum.pinegrow.com/t/can-i-use-handlebars-mustache-and-etc/2035/1 "2018-07-05T19:21:01Z")

</div>

Hi everyone,  
I am new to Pinegrow, but an experienced programmer and I’m psyched that Atom integrates so well!! Can I use various templating engines like Handlebars or Mustache? I’m not sure how to set this up. Any help is greatly appreciated.

Thanks.  
-Scott

---

<div class="post-metadata">

**Author:** ![jdanek](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/jdanek/32/2512_2.png) [@jdanek](https://forum.pinegrow.com/u/jdanek)\
**Post date:** [March 28, 2020, 11:21am UTC](https://forum.pinegrow.com/t/can-i-use-handlebars-mustache-and-etc/2035/2 "2020-03-28T11:21:58Z")

</div>

Documentation says no, from [Working with pages | Pinegrow Web Editor](https://pinegrow.com/docs/pages/pages.html#formats)

> ## Supported file formats
> 
> At the moment only HTML is officially supported. Opening and editing handlebars templates, PHP, ColdFusion, ASP and similar files can have unpredictable consequences and can even lead to corrupted code.
> 
> We’ll be adding support for additional formats in the future.

---

<div class="post-metadata">

**Author:** ![mrSidX](https://avatars.discourse-cdn.com/v4/letter/m/bbce88/32.png) [@mrSidX](https://forum.pinegrow.com/u/mrSidX)\
**Post date:** [October 18, 2022, 8:06pm UTC](https://forum.pinegrow.com/t/can-i-use-handlebars-mustache-and-etc/2035/3 "2022-10-18T20:06:22Z")

</div>

I was curious if you have had any success with incorporating templates into Pinegrow work flow?

I’ve been doing so for a about a year now with some success.  
The key to success with this is a javascript “replace” script that fixes [handlebars] syntax that the Pinegrow editor changes before saving. To remedy this, your template code will need to go through the “replace” procedures.

Have a look at it here… Just a small bit of code can fix what the editor takes out.(syntactical slash characters)

> [@Pinegrow with Template Engines (Handlebars, Mustache, etc)](https://forum.pinegrow.com/t/pinegrow-with-template-engines-handlebars-mustache-etc/6445):
>
> I’ve adopted Pinegrow as my go-to front-end design tool, and have been using it with mustache so far. There was an issue with Pinegrow autocorrecting and removing some of the vital syntax: ie: Pinegrow would remove all the / 's from any template code : {{/payload}} for example, and leaving it looking like this: {{ payload}} I’ve had to develop a work around “fix” function in my workflow prior to template rendering and sending back to the client a response, Here is a sample of my “fix” …

I really enjoy Pinegrow editor far above the rest I’ve tried, and would love to see further support of various templating options in the future.

Downside to it is the templating markup is in plain view on the WYSIWYG view, as it’s markup has yet to be rendered.
