My blog no longer uses Octopress, and it now uses Hakyll instead. The process and results using Hakyll are remarkably similar though.
Including Elm in an Octopress Post
div, we first need to write and then compile our Elm code.
elm-make Stamps.elm –output=app.js
Once compiled, and made available by placing it in the
As a demonstration, have a quick play with the interactive section below. It is an embedded version of Elm's Stamps Example.
Elm.embed requires a module to import, so if you'd like to try this yourself, add the following to the top of your Elm code.
module Stamps where
If you don't like pentagons, there are lots of other Elm examples to play around with.