package mdx

  1. Overview
  2. Docs
type t = [ `All | `One of Ocaml_env.t ] * string
val pp : t Fmt.t
val env_and_payload : string -> t

env_and_payload s returns the environment and file/prelude string described by s. I.e. env_and_payload "a:f" associates f to the environment named a, env_and_payload " :f" associates f to the default environment, and env_and_payload "f" associates f to all environments.