Converts nuf
file into html
generate <input-file-pathname> <output-file-pathname>
where:
<input-file-pathname>
-.nuf
file<output-file-pathname>
-.html
file
go run main.go generate ./test_data/text.nuf ./test_data/text.html
Input:
"Paragraph 1";
"Paragraph 2";
Output:
<p>Paragraph 1</p>
<p>Paragraph 2</p>
Input:
section_title("Heading 1");
section_title("Heading 2");
Output:
<h1>Heading 1</h1>
<h1>Heading 2</h1>
Input:
section("site_navigation");
section("main");
Output:
<nav></nav>
<main></main>
Input:
section_title("Heading 1") inside --main;
section("main");
Output:
<main>
<h1>Heading 1</h1>
</main>
Builds on top of