osalvador / tePLSQL

PL/SQL Template engine
http://osalvador.github.io/tePLSQL/
MIT License
65 stars 18 forks source link

Run-time option to indent final code #44

Closed MikeKutz closed 4 years ago

MikeKutz commented 4 years ago

For supporting #36

Post rendering the code, the engine should indent the code based on run-time parameters.

If possible, the code should also indent based on a <@% template %> directive.

The string used for indention should also be one of the run-time parameters.

MikeKutz commented 4 years ago

This has been implemented as the 5th parameter of an <@% include %> directive. <%@ template %> has not been implemented.

Helper Template ( #45 ) have been updated.

This still needs a run-time variable to set the indention character string. It is currently a static value of 4 spaces.