package cow
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
XML, JSON, HTML and Markdown libraries
Install
dune-project
Dependency
Authors
Maintainers
Sources
cow-2.2.0.tbz
sha256=aa2af4afef967d7f10a58abab0558ca1032b464088106f25155ed42fb26e42d7
md5=a880cc867cea10fe68c36e6501407365
doc/CHANGES.html
2.2.0:
- Port to use module aliases, so there are now
Cow_xmlCow_htmlCow_xhtmlCow_markdownCow_jsonandCow_atommodules, with aliases to the old scheme under theCowmodule (e.g.Cow.Xml). Existing code should continue to work, but the whole compilation unit is no longer linked in if just a single method of output is used. This bumps the minimum OCaml version to 4.02.3 due to the use of module-level aliases. - Switch build system to use
topkginstead ofoasis, and adhere to theopkglayout format.
2.1.0 (21-May-2016):
- Add description lists (dl/dt/dd)
- Add ~licls/~dtcls/~ddcls to Html.ul/ol/dl. Setting classes of child elements in lists is sometimes useful.
- Add some missing HTML5 combinators.
2.0.1 (03-May-2016):
- Turn off warnings-as-errors, which fixes build under 4.03
- Add OCaml test cases for OCaml 4.03.
2.0.0: (13-Mar-2016):
- Remove camlp4 syntax extension support
- Expose more and clean-up Html combinators
1.4.1 (unreleased):
- Fix XML and HTML labeled argument assignment antiquotation syntax bug (#86)
- Fix CSS space-less antiquotation syntax bug
1.4.0 (27-Sep-2015):
- Improve compatability with Type_conv >= 113.00 by renaming some of the syntax parser modules to be less generically named.
- Add ocamldoc generation and improve the
Html.Createlibrary (from @chrismamo1 in #82).
1.3.0 (02-Aug-2015)
- Add
Css.of_string,Css.set_prop,Css.get_prop,Css.polygradient.Css.gradient(#74, by @chrismamo1) - Add optional arguments to
Css.top_rounded,Css.rounded,Css.box_shadowandCss.text_shadow(#74, by @chrismamo1) - Add
Html.concat,Html.append,Html.Create.ulandHtml.Create.ol(#74, by @chrismamo1)
1.2.2 (30-Jul-2015)
- Fix int32 conversion to float in JSON syntax (#76, by Antoine Luciani)
- Fix a regression introduced in 1.2.0 in
make test(#72 by @dsheets) - Modernize
.travis.ymlto useocaml-travisci-skeleton(by @dsheets) - Remove direct dependency on re (#71, by @rgrinberg)
- Add a
.merlinfile (#70, by @rgrinberg)
1.2.1 (05-Mar-2015):
- Fix compatibility of the
jsonsyntax extension withezjsonmversion 0.4 (#68)
1.2.0 (06-Feb-2015):
- When serializing HTML, only self-close void elements.
- New
Html.doctypevalue of the HTML5 DOCTYPE. - New
Html.outputandHtml.output_docfunctions for generic polyglot output. - Atom support is now deprecated in favor of Syndic
- New
Html.imgconstructor for easy creation oftags
- New
Html.aconstructor for easy creation of tags - Deprecate function
Html.html_of_linkand typeHtml.link
1.1.0 (20-Dec-2014):
- Add OPAM 1.2 compatible description file (#53).
- Fix compatibility with
ezjsonmversion 0.4+ (#55).
1.0.0 (26-Aug-2014):
- Fix OCaml 4.02 compatibility by not exposing a
Locationmodule in syntax extensions to avoid a namespace clash. We now rename them toXml_locationandCss_locationand pack those instead. - Fix BSD compatibility using
$(MAKE)instead ofmake(since the GNU make binary is actuallygmakeon Free/Net/OpenBSD). - Reduce the verbosity of the build by default.
- Travis: Add OCaml 4.02 and OPAM 1.2.0 tests
0.10.1 (10-Aug-2014):
- Fix Xml.of_string "" invalid argument bug
0.10.0 (26-Apr-2014):
- Remove JSON parsing in favour of using
jsonminstead. - Stop testing OCaml 3.12.1 (although it may continue to work).
0.9.1 (20-Dec-2013):
- Fix parsing of empty attributes in XML/HTML/XHTML.
0.9.0 (20-Dec-2013):
- Remove all the Markdown variants except
Omd, which now claims theCow.Markdownmodule name. - Clarify the repository license as ISC.
- Run some modules through
ocp-indent.
0.8.1 (15-Dec-2013):
- Fix META file to include
omd. - Improve ocamldoc in CSS module and document quotations in README.
- Add
merlineditor file.
0.8.0 (12-Dec-2013):
- Add Travis continuous integration scripts.
- Add
Omd_markdownmodule based on theomdlibrary. - Note: The
MarkdownandMarkdown_githubmodules are now deprecated and will be removed before 1.0.
0.7.0 (25-Sep-2013):
- Add an OPAM script that installs the right dependencies.
- Make native dynlink optional if not supported by the toolchain.
- Add support for
<xml:base>in Atom feeds.
0.6.2 (30-Jul-2013):
- Fix code highlighting of integer literals with underscores.
- Fix XML parsing and printing for fragments and full documents.
- Fix handling of whitespaces in antiquotation attributes.
0.6.1 (03-Jul-2013):
- Tweak CSS syntax highlighting of OCaml code to fit Anil's superior colour taste.
- Add a
Code.ocaml_fragmentto get just the syntax highlighted bits without the wrapper tags. - Expose a
decloption to make theXml.to_stringdeclaration prefix optional. - Do not output a
<?xmldeclaration inHtml.to_string.
0.6.0 (21-Jun-2013):
- Add URI anti-quotation expander that maps
$uri:u$toUri.to_string u. - Xmlm is now an external dependency instead of being bundled with Cow.
- Remove
?templatesfromHtml.of_stringandXml.of_string.
0.5.5 (12-Jun-2013):
- Markdown to HTML now generates header titles inside the anchor (previously, a space was anchored).
0.5.4 (21-May-2013):
- Add
json_ofandof_jsontype-conv providers (#6). - Add
Json.to_string_humwhich adds more newlines for human-readable output (#7). - Document the
-cow-no-opencamlp4 flag (#9). - Be compatible with Core by using
List.concatinstead ofList.flatten(#2). - Fix Atom feed by adding a
linkfield. - Install
.mlifiles with the library binaries (#11). - New dependency on the
Urilibrary.
0.5.3 (18-Feb-2013):
- Correct META file for
cow.syntaxto not repeat theStrmodule loading. - Fix error with unary sum types for HTML generation.
- Support JSON marshalling for
optiontypes.
0.5.2 (15-Jan-2013):
- Remove dependency towards the Str module
0.5.1 (10-Jan-2013):
- Fix bugs in
Markdown_githuband factorize html serialization functions - New antiquotation kinds for CSS
- Add xhtml quotations (which are identical to html from now on)
0.5.0 (04-Dec-2012):
- Remove the broken
Twittermodule - Add
Markdown_githubto read Github's markdown files
0.4.0 (05-Oct-2012):
- Support (and require) type_conv-108.07.00+
0.3.2 (11-Sep-2012):
- Add
<:html<quotation, based on the XML generator, but with all the XHTML entities also supplied.
0.3.1 (04-Sep-2012):
- Fix the OCamlfind META file.
0.3.0 (02-Sep-2012):
- Initial public release.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>