Description

Lambdoc was built with Ocsigen/Eliom integration in mind. It includes parsers for four different markup languages: Lambtex, Lambxml, Lambwiki, and Markdown. The first is inspired by LaTeX, the second is an XML-based markup based on HTML, the third is a lightweight markup language in the spirit of Wiki Creole, and the last is the popular lightweight markup language. The library also includes the possibility of outputing any Lambdoc document as an Ocsigen (Tyxml) HTML5 value. Additional capabilities include the runtime customisation of available document features (you may, for example, declare that a certain class of users is only allowed to produce documents containing nothing more than paragraphs of plain text), detailed error messages, and the definition of basic macros. Particularly of note is a powerful extension mechanism that allows the definition of custom commands tailored to a particular application. It also ships with 'lambcmd', a CLI application that allows the conversion between any of the input formats into one of the supported output targets.

Published: 17 Aug 2015

Dependencies (17)

  1. ocamlbuild build
  2. alcotest with-test
  3. camlhighlight >= "3.0" & < "4"
  4. blahcaml
  5. omd >= "1.0.0"
  6. tyxml >= "3.2" & < "3.6"
  7. xstrp4
  8. pxp
  9. pcre
  10. type_conv
  11. sexplib < "113.01.00"
  12. ulex
  13. menhir
  14. batteries >= "2"
  15. camlp4
  16. ocamlfind
  17. ocaml >= "4.02.0"

Reverse Dependencies

    None

Conflicts

    None
Library providing support for semantically rich documents in web applications.

Install

Authors

Maintainers

Sources

v1.0-beta4.tar.gz
md5=a1409daed14f5469cc98fff08def0c9e