wmk is a flexible and versatile static site generator.
wmk is suitable for building any small or medium-sized static website (up to a few hundred pages).
This is free and open source software.
Key Features
- Markdown or HTML content with YAML metadata in the frontmatter.
- Support for themes.
- Sass/SCSS support (via libsass).
- Can generate a search index for use by lunr.js.
- Shortcodes for more expressive and extensible content.
- The content is rendered using Mako, a template system which makes all the resources of Python easily available to you.
- “Stand-alone” templates – i.e. templates that are not used for presenting markdown-based content – are also rendered if present. This can e.g. be used for list pages or content based on external sources (such as a database).
- Additional data for the site may be loaded from separate YAML files or even (with a small amount of Python/Mako code) from other data sources such as CSV files, SQL databases or REST/graphql APIs.
- The shortcode system is considerably more powerful than that of most static site generators. For instance, among the default shortcodes are an image thumbnailer and a page list component. A shortcode is just a Mako component, so if you know some Python you can easily build your own.
- Optional support for the powerful Pandoc document converter, for the entire site or on a page-by-page basis. This gives you access to such features as LaTeX math markup and academic citations, as well as to Pandoc’s well-designed filter system for extending markdown. Pandoc also enables you to export your content to other formats (such as PDF) in addition to HTML, if you so wish.
- Also via Pandoc, support for several non-markdown input formats for content, namely LaTeX, Org, RST, Textile, Djot, Typst, man, JATS, TEI, Docbook, RTF, DOCX, ODT, and EPUB.
Website: github.com/bk/wmk
Support:
Developer: Baldur Kristinsson
License: MIT License
wmk is written in Python. Learn Python with our recommended free books and free tutorials.
Related Software
| Python Static Site Generators | |
|---|---|
| MkDocs | Project documentation with Markdown. It's easy to use and extensible |
| Pelican | Static site generator that supports Markdown and reST syntax |
| Sphinx | Create intelligent and beautiful documentation for Python projects |
| Lektor | Flexible and powerful static content management system |
| Nikola | Static website and blog generator |
| Bestatic | Really minimal yet feature-rich |
| Teedoc | Simple static website/document/blog generator |
| makesite | Simple, lightweight, and magic-free static site/blog generator |
| Prosopopee | Static site generator for your story |
| Grow | Declarative website generator |
| Hyde | Support for powerful template languages like Jinja2 |
| Cactus | Simple but powerful static website generator |
| Stapy | Works with Python on any operating system without additional packages. |
| Frozen-Flask | Freezes a Flask application into a set of static files |
| Blurry | Focused on page speed and SEO |
| Urubu | Micro content management system for static websites |
| Miyadaiku | Suitable for blogs, documentation, and other static publishing projects |
| incorporeal-cms | Lightweight static site generator for Markdown-based sites |
| blag | Blog-aware, static site generator which uses Markdown |
| wmk | Flexible and versatile static site generator |
| Pagegen | With reStructuredText or Markdown markup and Mako templates |
| Baku | Simple, Markdown-based blogging engine/static website generator |
| Aurora | Support for static and incremental builds |
| Genja | Uses Jinja templates for page rendering |
| StaticPipes | Flexible pipeline-based static site generator |
| Picogen | Minimalist static website generator with a simple workflow |
Read our verdict in the software roundup.
Explore our carefully curated directory of recommended free and open source software, covering every major software category.The directory forms part of our extensive collection of articles for Linux enthusiasts. It includes hundreds of detailed reviews, together with free and open source alternatives to proprietary software from companies such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. LinuxLinks also covers interesting projects worth exploring, Linux-compatible hardware, free programming books and tutorials, and much more. Know a useful free and open source Linux application that we haven’t covered? Tell us about it using our submission form. |


Please read our Comment Policy before commenting.