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 B75627EEBF for ; Sun, 28 Jun 2015 19:03:00 +0200 (CEST) Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of daniel.buenzli@erratique.ch) identity=pra; client-ip=74.55.86.74; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="daniel.buenzli@erratique.ch"; x-sender="daniel.buenzli@erratique.ch"; x-conformance=sidf_compatible Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of daniel.buenzli@erratique.ch) identity=mailfrom; client-ip=74.55.86.74; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="daniel.buenzli@erratique.ch"; x-sender="daniel.buenzli@erratique.ch"; x-conformance=sidf_compatible Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of postmaster@smtp.webfaction.com) identity=helo; client-ip=74.55.86.74; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="daniel.buenzli@erratique.ch"; x-sender="postmaster@smtp.webfaction.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0ApAwAvKJBVm0pWN0pbg2W/doV8AoFnAQEBAQEBEgEBAQEBBgsLCSEuQQODXwEBBCNWEAsaAiYCAkcQBhuIJwS4SpV3AQEBBwEBAQEBHYEhiimEUzMHgmgvgRQFlASEWYh4hisPiHOHEoQhgzYBAQE X-IPAS-Result: A0ApAwAvKJBVm0pWN0pbg2W/doV8AoFnAQEBAQEBEgEBAQEBBgsLCSEuQQODXwEBBCNWEAsaAiYCAkcQBhuIJwS4SpV3AQEBBwEBAQEBHYEhiimEUzMHgmgvgRQFlASEWYh4hisPiHOHEoQhgzYBAQE X-IronPort-AV: E=Sophos;i="5.13,694,1427752800"; d="scan'208";a="138163586" Received: from mail6.webfaction.com (HELO smtp.webfaction.com) ([74.55.86.74]) by mail3-smtp-sop.national.inria.fr with ESMTP; 28 Jun 2015 19:02:59 +0200 Received: from [172.20.10.2] (188.29.165.229.threembb.co.uk [188.29.165.229]) by smtp.webfaction.com (Postfix) with ESMTP id 4824E213DF3E; Sun, 28 Jun 2015 17:02:56 +0000 (UTC) Date: Sun, 28 Jun 2015 18:02:43 +0100 From: =?utf-8?Q?Daniel_B=C3=BCnzli?= To: Robert Muller Cc: caml-list@inria.fr Message-ID: <94320AAECDF345498478F0BB850C724D@erratique.ch> In-Reply-To: References: X-Mailer: sparrow 1.6.4 (build 1178) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: Re: [Caml-list] syntax highlighting of ocaml code in html Le dimanche, 28 juin 2015 =C3=A0 17:42, Robert Muller a =C3=A9crit : > An opam search and googling a bit fails to turn up an obvious standard to= ol 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=3Dhiglo Both can be installed via opam.=20=20 Best, Daniel [1] http://zoggy.github.io/higlo/ [2] https://github.com/ocaml/omd