package mdx
Executable code blocks inside markdown files
Install
Dune Dependency
Authors
Maintainers
Sources
mdx-1.4.0.tbz
sha256=66b56a6bee7165498671c5a616acd965975de5cf855c7c114d7f5237a250ebdb
sha512=679d42d54fed29e5aaeb60dc01c23da6e903b976769585da06dc06a4a643fca7836d0999f09d55f6d94125f0ca99ba27b6402f5a6651a16ba5397353d742ec3d
doc/mdx.top/Mdx_top/Part/index.html
Module Mdx_top.Part
val read : string -> file
read f
is the file f
. It's a costly operations, better to be done once.
val contents : file -> string
contents f
is f
contents.
val find : file -> part:string option -> string list option
find f ~part
returns the lines of the part part
in the file f
. Return None
if f
does not contain the part part
.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>