What | Tclssg |
Where | https://github.com/tclssg/tclssg![]() |
Description | A Tcl static site generator that uses Markdown for content markup and HTML with embedded Tcl code for page templates. Supports Bootstrap themes. Generates sitemaps. Can deploy websites over FTP, SCP, etc. |
Platforms | Linux, Windows XP/7/8.x/10, macOS, FreeBSD, OpenBSD, NetBSD. |
Prerequisites | Tcl 8.5 or newer, Tcllib, SQLite3 bindings for Tcl. Also available as a self-contained Starpack for Windows, Linux and macOS. |
Updated | 2018-02 |
License | MIT |
Screenshot | |
Example sites, users edit
- https://core.tcl-lang.org/akupries/
- http://www.magicsplat.com
- http://www.eventuallabs.com/blog/
- https://www.tcl.tk/community/tcl2015/
through https://core.tcl.tk/conference/tcl2018/
- https://jima.io/tcl/
- https://core.tcl-lang.org/
- Others? More?
Discussion edit
escargo 2014-07-16: It would be nice if you described supported platforms and prerequisites here.dbohdan 2014-07-17: Thanks for the suggestion! I added platforms and prerequisites to the project summary above. A more detailed guide on how to install Tclssg can be found in the "Getting started" section
I think the markdown package is inserting an extra indentation level from the 2nd line of the code you want to post.
Example:
(The pattern on first line is OK, starting from the 2nd line, however, every line has an extra indentation level)

code block post example: 4 spaces leading this line 6 spaces leading this line 4 spaces leading this line **the end**the output:
<p>code block post example:</p> <pre><code>4 spaces leading this line 6 spaces leading this line 4 spaces leading this line</code></pre> <p><strong>the end</strong></p>looks like the generated code being indented from the 2nd line and beyond is just being treated as expected and shown as is.dbohdan 2014-12-07: Fixed the issue in v0.16.1.HJG 2016-02-23: Is there an example of a picture-gallery done with Tclssg ? As in, several dozen photos, with thumbnails linking to bigger pictures (with descriptions), and generated links for next/prev, etc. ?
See also edit
- DustMote with Snit, Tclssg's embedded web server
- tmpl_parser implementation used by Tclssg