Simple HTML Templating Under Windows -


i have spent days trying find solution under windows how simple html templating under windows.

i don't want use solution requires me download , configure ruby or python or way compile javascript locally.

i looking simple, basic solution. minimalism interest.

all want writer html file able insert blocks of pre-made html in inserting tag.

for example:

i want able put in:

#menu1 

and when compiled produce:

<ul> <li><a href="#">link one</a></li> <li><a href="#">link two</a></li> <li><a href="#">link three</a></li> <li><a href="#">link four</a></li> </ul> 

basically, want able arbitrarily define tags result in substitutions of per-defined text.

and if have hundred different name.html.template files (or whatever called), , if reference:

#menu1 

then should able modify definition of menu1, recompile templates, , have outputted updated .html files.

what simple ways of achieving this? don't want download whole static website generator jekyll, or don't want use server side includes nor want use php this. want simple program or text editor or let me substitute tags predefined arbitrary text.

does program exist? there text editor or html editor windows this? there kind of web browser based text editor has functionality?

thanks in advance.

i think best solution use jquery.

<html>    <head>      <script src="jquery.js"></script>      <script>      $(function(){       $("#includedcontent").load("template.html");      });     </script>    </head>     <body>       <div id="includedcontent"></div>   </body>  </html> 

Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -