package mdx

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

Install

Dune Dependency

Authors

Maintainers

Sources

mdx-2.5.0.tbz
sha256=c2da58d7d5182f15c046fb320bb02c16602d2ee7cb99f349e3f4841c26365029
sha512=d16d9ec2ac444880c7f6d08181fe055697f25fb405358acee396cd7ecba8011881f1de8b49bfa208d4adcd4904b600f4122d1a47d98bf26a8cb533770dd9350d

doc/mdx/Mdx/Prelude/index.html

Module Mdx.PreludeSource

Sourcetype t = [ `All | `One of Ocaml_env.t ] * string
Sourceval pp : t Fmt.t
Sourceval 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.

OCaml

Innovation. Community. Security.