package mdx
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Executable code blocks inside markdown files
Install
dune-project
Dependency
Authors
Maintainers
Sources
mdx-2.6.0.tbz
sha256=38011f9c0d0ba2044fdf8c21c530ac806211e7b730daa52827988e0c7e43763c
sha512=9c5c26abfb5437aa89dff4c2f24c68e788d9d564a0210d5fa0857a259e50c82e0cf642e24c8bbb1f25f6bb04287cdb369f135220172478c7dd02429a5879410b
doc/src/mdx/syntax.ml.html
Source file syntax.ml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24type t = Markdown | Cram | Mli | Mld let pp fs = function | Markdown -> Fmt.string fs "markdown" | Cram -> Fmt.string fs "cram" | Mli -> Fmt.string fs "mli" | Mld -> Fmt.string fs "mld" let equal x y = x = y let infer ~file = match Filename.extension file with | ".t" -> Some Cram | ".md" -> Some Markdown | ".mli" -> Some Mli | ".mld" -> Some Mld | _ -> None let of_string = function | "markdown" | "normal" -> Some Markdown | "cram" -> Some Cram | "mli" -> Some Mli | "mld" -> Some Mld | _ -> None
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>