Convert blogger posts to Markdown format, omitting all the Blogger chrome and navigation.
Convert blogger posts to Markdown format, omitting all the Blogger chrome and navigation.
Top level functions intended for very simple use.
Top level functions intended for very simple use.
Transform general HTML to Markdown, as faithfully as is reasonably possible.
Transform general HTML to [Markdown](https://daringfireball.net/projects/markdown/), as faithfully as is reasonably possible.
The actual transformation engine, which is actually far more general than just something to generate Markdown. It isn't as general as XSL-T but can nevertheless do a great deal of transformation on [HT|SG|X]ML documents.
In this documentation the following terminology is used:
dispatcher
is a function (or more
probably a map) which takes one argument, the tag of the element as a
keyword, and returns a processor
, q.v.processor
is a function of two arguments, an
Enlive encoded (X)HTML element and
a dispatcher
as described above, which processes elements into the
desired format.NOTE that while processors
within the html-to-md
package generally
process elements into strings (since Markdown is a text format), when
processing into an XML format it will generally be preferable that
processors
should return Enlive style elements.
The actual transformation engine, which is actually far more general than just something to generate [Markdown](https://daringfireball.net/projects/markdown/). It isn't as general as [XSL-T](https://www.w3.org/standards/xml/transformation) but can nevertheless do a great deal of transformation on [HT|SG|X]ML documents. ## Terminology In this documentation the following terminology is used: * **dispatcher**: a `dispatcher` is a function (or more probably a map) which takes one argument, the tag of the element as a keyword, and returns a `processor`, q.v. * **processor**: a `processor` is a function of two arguments, an [Enlive](https://github.com/cgrand/enlive) encoded (X)HTML element and a `dispatcher` as described above, which processes elements into the desired format. ## Generality **NOTE** that while `processors` within the `html-to-md` package generally process elements into strings (since Markdown is a text format), when processing into an XML format it will generally be preferable that `processors` should return Enlive style elements.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close