caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Daniel Bünzli" <daniel.buenzli@erratique.ch>
To: Robert Muller <robert.muller2@gmail.com>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] syntax highlighting of ocaml code in html
Date: Sun, 28 Jun 2015 18:02:43 +0100	[thread overview]
Message-ID: <94320AAECDF345498478F0BB850C724D@erratique.ch> (raw)
In-Reply-To: <CAKmYink2MVEc-Vci85xBH=Jzz3EPWj_WejEkOJLEPrXz5ZsOTw@mail.gmail.com>

Le dimanche, 28 juin 2015 à 17:42, Robert Muller a écrit :
> 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?

Don't know if it's standard but for my log I use higlo [1] which if you are using markdown can be used on the command line with omd [2] as follows:

omd -r ocaml=higlo

Both can be installed via opam.  

Best,

Daniel

[1] http://zoggy.github.io/higlo/
[2] https://github.com/ocaml/omd


  parent reply	other threads:[~2015-06-28 17:03 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 [this message]
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=94320AAECDF345498478F0BB850C724D@erratique.ch \
    --to=daniel.buenzli@erratique.ch \
    --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).