# natechoe.dev generator A very simple tool to generate natechoe.dev pages. It's effectively just a generic file preprocessor with HTML some auto escaping. Please not that ncdg minifies HTML so these examples aren't really correct. ## Usage There are only 4 features in ncdg: ### Include statements file1.html ``` @%file2.html@ ``` file2.html ```

Title!

Content!

``` Result: ```

Title!

Content!

``` ### Variables file1.html ``` %!title%

@!title@

@%file2.html@ ``` file2.html ``` @=title Title!@

Content!

``` Result: ``` Title!

Title!

Content!

``` ### Automatic escaping ```
%\
#include 
%
``` Result: ```

#include <stdio.h%gt;
Note that text inside of escaped sections are not minified. ### Excluding minification ``` %& & % ``` Result: ``` & ``` Used for legacy web pages on my site that I don't want to update