package mdx
Executable code blocks inside markdown files
Install
Dune Dependency
Authors
Maintainers
Sources
mdx-1.11.0.tbz
sha256=9d8301f83aa780f856b65cc5aa6fd2cecaba2c9c211923f38a11a636a07368c2
sha512=39c3e7a9164e16cc8cc89866c87c36272d3aa34aae7ccc5520b5aedecf4c8f517d8a5c7366cdb525c8e3c618f512d886bfabf2a48d8f5c31f4834bf72d7f2931
doc/mdx.top/Mdx_top/index.html
Module Mdx_top
Toplevel logic for mdx
.
val init :
verbose:bool ->
silent:bool ->
verbose_findlib:bool ->
directives:directive 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
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>