You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
959 B

(*
* Copyright (c) 2017 - present Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*)
(** used to combine pp together, wrap content into a monospaced block *)
val wrap_monospaced : (Format.formatter -> 'a -> unit) -> Format.formatter -> 'a -> unit
(** pp to wrap into a monospaced block *)
val pp_monospaced : Format.formatter -> string -> unit
(* wrap into a monospaced block *)
val monospaced_to_string : string -> string
(** used to combine pp together, wrap content into a code block *)
val wrap_code : (Format.formatter -> 'a -> unit) -> Format.formatter -> 'a -> unit
(** pp to wrap into a code block *)
val pp_code : Format.formatter -> string -> unit
(* wrap into a code block *)
val code_to_string : string -> string