! WIP -NON FUNCTIONAL AT THIS TIME
Go-Static is a simple, general purpose Markdown to HTML static site generation tool written in GO and utilizing Templ.
The creation of Go-Static is strictly for my education and usage in my own personal website project. Primarily for blog content. Markdown has a nice, simple and concise syntax and allows for great creativity in writing. It is a great fit for simple pages, blogs, news articles, general information pages, etc.
There are many static site generators which have greater functionality, and if you need to adhear to certain specifications I would advise checking out other projects for now.
Projects like: - Makdown-it - Goldmark - Golang-Commonmark - etc...
- GO 1.23+
- TEMPL
Go-Static is a simple lexical anaylsis and parser that creates an AST2 and renders HTML out.
-
The lexer steps through the file, creates, and organizes Tokens into Tree Nodes.
-
The Tree Nodes are then stepped through and used to populate the HTML template backed by TEMPL.
-
The template is then rendered into output comprised of an HTML code file that follows site guidelines for style and functionality.
-
Finally the file is distributed to the website directory to be used immediately in hosting.
Details to come
Contribution details to come.
Footnotes
-
Go-Static Illustration by Eric Trinque. ↩