package mdx

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

Install

Dune Dependency

Authors

Maintainers

Sources

mdx-1.8.0.tbz
sha256=a248a58792c132f5b63982148ad85cc1d531a354cbbdd08156e108d5c6b951dc
sha512=1233893859b0f67a43759ec0c1c795dbbffa40555eb37440ea161dc3f773b8724f368d749a05555687244a62af8036a97357bec86376659d70f3d9d4355496e2

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.