markup: Abstraction for HTML-embedded content

[ bsd3, data, library, web ] [ Propose Tags ]

This library tries to simplify deployment of common HTML constructs, for different HTML engines.

Deployment, from this library's perspective, means how something can be rendered to markup, yet still achieve the same "result" to the end user (namely the DOM). For instance, we could use a link tag to reference external Css, or we might insert the Css code inline a style tag.

We use simple tags to infer the deployment mechanism for a context of markup. The three deployment mechanisms provided include

  • inline - the asset inserted between markup tags

  • local - assets on the current server

  • remote - assets referenced with a complete URI

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.0.1, 0.0.2, 0.0.3, 0.0.4, 0.0.5, 0.0.6, 0.0.6.1, 0.0.7, 0.0.8, 1.0.0, 1.1.0, 2.0.0, 2.1.0, 2.1.1, 2.2.0, 3.0.0, 3.1.0, 4.0.0, 4.0.1, 4.0.2, 4.0.3, 4.0.4, 4.1.0, 4.2.0 (info)
Dependencies attoparsec-uri (>=0.0.4), base (>=4.8 && <5), blaze-html, blaze-markup, clay, comonad, lucid (>=2.5), mmorph, monad-control, monad-logger, mtl, path-extra (>=0.0.6), resourcet, text, transformers-base, urlpath (>=7.1.0) [details]
License MIT
Author Athan Clark <athan.clark@gmail.com>
Maintainer Athan Clark <athan.clark@gmail.com>
Category Data, Web
Source repo head: git clone https://github.com/athanclark/markup.git
Uploaded by athanclark at 2018-03-04T21:23:03Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 12955 total (63 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2018-03-04 [all 1 reports]