This is an alternative site for discovering Elm packages. You may be looking for the official Elm package site instead.
Templates for Elm HTML generation.
version 3.1.1
license MIT
native-modules False
elm-version 0.18.0 <= v < 0.19.0
Tag 3.1.1
Committed At 2017-04-12 07:31:38 UTC
fredcy/elm-parseint 2.0.0 <= v < 3.0.0 2.0.1
elm-tools/parser 2.0.1 <= v < 3.0.0 2.0.1
elm-lang/html 2.0.0 <= v < 3.0.0 2.0.0
elm-lang/core 5.1.1 <= v < 6.0.0 5.1.1
elm-community/list-extra 6.0.0 <= v < 7.0.0 6.1.0

README

The billstclair/elm-html-template package allows you to generate HTML from JSON templates and dictionaries to fill in variables in the templates.

Build Status

One of the problems I find with Elm is that the HTML is compiled into the JavaScript code for a web site. This package is the basis of a much more data-driven HTML generation mechanism.

The included example application is live at lisplog.org/elm-html-template.

The package contains a Markdown to JSON converter, with some extensions (colspan for tables and an elegant way to specify the CSS classes for tags). Full documentation of the JSON format and the Markdown processor is in the GitHub repository.

I'm working on Xossbow (pronounced "Crossbow"), a blogging package based on elm-html-template. The example code in this package uses JSON to represent its page content. Xossbow will use primarily Markdown.

Bill St. Clair <billstclair@gmail.com>
3 March 2017