From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by sympa.inria.fr (Postfix) with ESMTPS id B3F597EEBF for ; Mon, 29 Jun 2015 09:54:09 +0200 (CEST) X-IronPort-AV: E=Sophos;i="5.13,697,1427752800"; d="scan'208";a="138218537" Received: from meleze.ens.fr (HELO [129.199.99.114]) ([129.199.99.114]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES128-SHA; 29 Jun 2015 09:54:09 +0200 Message-ID: <5590F9A1.1040506@inria.fr> Date: Mon, 29 Jun 2015 09:54:09 +0200 From: Francois Berenger User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: caml-list@inria.fr References: In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Caml-list] syntax highlighting of ocaml code in html 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"