caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Francois Berenger <francois.berenger@inria.fr>
To: caml-list@inria.fr
Subject: Re: [Caml-list] syntax highlighting of ocaml code in html
Date: Mon, 29 Jun 2015 09:54:09 +0200	[thread overview]
Message-ID: <5590F9A1.1040506@inria.fr> (raw)
In-Reply-To: <CAKmYink2MVEc-Vci85xBH=Jzz3EPWj_WejEkOJLEPrXz5ZsOTw@mail.gmail.com>

On 06/28/2015 06:42 PM, Robert Muller wrote:
> An opam search and googling a bit fails to turn up an obvious standard
> tool for publishing highlighted ocaml code in html. Is there a standard
> tool? caml2html?, highlight.js?, cow?

https://github.com/mjambon/caml2html

looks like what you are looking for or close.

Also, in emacs you can use htmlize-buffer if you have
/usr/share/emacs/site-lisp/emacs-goodies-el/htmlize.el
installed (provided by the package emacs-goodies-el on Debian/Ubuntu).

> thank you,
> Bob Muller

-- 
Regards,
Francois.
"When in doubt, use more types"

      parent reply	other threads:[~2015-06-29  7:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-28 16:42 Robert Muller
2015-06-28 17:01 ` Gabriel Scherer
2015-06-28 17:02 ` Daniel Bünzli
2015-06-29  7:54 ` Francois Berenger [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5590F9A1.1040506@inria.fr \
    --to=francois.berenger@inria.fr \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).