package mdx

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

Install

Dune Dependency

Authors

Maintainers

Sources

mdx-1.5.0.tbz
sha256=b68fea7235aa95a407bccea76352a8a32dee0441a72f701f3aa19d4f1cbd853c
sha512=2853e68f2e91ea36f3f22459ff1cd512237e6380163434e2bd59eee1946d166119663aaafb5acd672cbf285d9f191aee2e39fa5f587cbd41020eeae8815887cf

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.

module Part : sig ... end
val in_env : string -> (unit -> unit) -> unit
OCaml

Innovation. Community. Security.