package mdx

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

Install

Dune Dependency

Authors

Maintainers

Sources

mdx-1.6.0.tbz
sha256=6b4c51c91953218b5b5b14f8e5d3dd6d0c50995b46c571b97d8b37238457a4a2
sha512=f86619905828bbdaa8a93d6605308436211e26ac850cad319d92cca971e6f548e5ac07a38d01f8098f87ea7f6a40d0f4bc0c6867c3a416b2b956042423997432

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 -> 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 : string -> (unit -> unit) -> unit
OCaml

Innovation. Community. Security.