package mdx

  1. Overview
  2. Docs
Executable code blocks inside markdown files

Install

Dune Dependency

Authors

Maintainers

Sources

mdx-1.8.1.tbz
sha256=9b0da52022ce7c26897335c25791a62e029b046b725b1db3447a8be76998f1eb
sha512=1187bbd7823416996f207057e9a5c40d483d10b1f52fc05b5a3cb64a1f869eac66279ea2ffd21295620e6654f5d1d7883285db0548a0fb01573b9e5b1fd6a4f3

doc/mdx.top/Mdx_top/index.html

Module Mdx_top

Toplevel logic for mdx.

type t

The type for configuration values.

val init : verbose:bool -> silent:bool -> verbose_findlib:bool -> dirs:string list -> packages:string list -> predicates:string list -> unit -> t

init () is a new configuration value.

val eval : t -> string list -> (string list, string list) Result.result

eval t p evaluates the toplevel phrase p (possibly spawning on mulitple lines) with the configuration value t.

val in_env : Mdx.Ocaml_env.t -> (unit -> 'a) -> 'a
OCaml

Innovation. Community. Security.