summaryrefslogtreecommitdiff
path: root/ocamldoc/odoc_ocamlhtml.mli
blob: b05c478b70ec0b96919ff34da361acdb859c1fce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
(**************************************************************************)
(*                                                                        *)
(*                                 OCaml                                  *)
(*                                                                        *)
(*             Sebastien Hinderer, projet Cambium, INRIA Paris            *)
(*                                                                        *)
(*   Copyright 2022 Institut National de Recherche en Informatique et     *)
(*     en Automatique.                                                    *)
(*                                                                        *)
(*   All rights reserved.  This file is distributed under the terms of    *)
(*   the GNU Lesser General Public License version 2.1, with the          *)
(*   special exception on linking described in the file LICENSE.          *)
(*                                                                        *)
(**************************************************************************)

(** Generation of html code to display OCaml code. *)

val escape_base : string -> string

val html_of_comment : (string -> string) ref

val code_class : string

val html_of_code : Buffer.t -> ?with_pre:bool -> string -> unit