caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Gabriel Scherer <gabriel.scherer@gmail.com>
To: Robert Muller <robert.muller2@gmail.com>
Cc: caml users <caml-list@inria.fr>
Subject: Re: [Caml-list] syntax highlighting of ocaml code in html
Date: Sun, 28 Jun 2015 19:01:30 +0200	[thread overview]
Message-ID: <CAPFanBGUd2T9C4UXUU5tgyvxe_6bTnxVNqm_+8Am6EmosODXHw@mail.gmail.com> (raw)
In-Reply-To: <CAKmYink2MVEc-Vci85xBH=Jzz3EPWj_WejEkOJLEPrXz5ZsOTw@mail.gmail.com>

I don't think it is standard by any means, but I have had good success
using GNU source-highlight in the past. Just "source-highlight foo.ml"
produces a foo.ml.html. (--doc or --no-doc can be used depending on
whether on not one wants the html produced to be self-contained).

On Sun, Jun 28, 2015 at 6:42 PM, Robert Muller <robert.muller2@gmail.com> 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?
> thank you,
> Bob Muller

  reply	other threads:[~2015-06-28 17:02 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 [this message]
2015-06-28 17:02 ` Daniel Bünzli
2015-06-29  7:54 ` Francois Berenger

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=CAPFanBGUd2T9C4UXUU5tgyvxe_6bTnxVNqm_+8Am6EmosODXHw@mail.gmail.com \
    --to=gabriel.scherer@gmail.com \
    --cc=caml-list@inria.fr \
    --cc=robert.muller2@gmail.com \
    /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).