package ocamlformat-mlx-lib
OCaml .mlx Code Formatter
Install
Dune Dependency
Authors
Maintainers
Sources
ocamlformat-mlx-0.27.0.tbz
sha256=6a40faa182faee55f32bc92387b7e7f97818e160e0f4ef0e0032c0b8b70b86d1
sha512=7df487ebdcddff3529886e034fa9d5476c765c60926b11b8d86fb0e42bea3ee41f693c898e7f95bfc19ca9fa0116825c040a3e027c1e3b7505ebe6c6508540ec
doc/ocamlformat-mlx-lib.odoc_parser/Ocamlformat_odoc_parser/Token/index.html
Module Ocamlformat_odoc_parser.Token
Source
Source
type tag = [
| `Tag of [ `Author of string | `Deprecated | `Param of string | `Raise of string | `Return | `See of [ `Url | `File | `Document ] * string | `Since of string | `Before of string | `Version of string | `Canonical of string | `Children_order | `Short_title | `Inline | `Open | `Closed | `Hidden ]
]
Source
type media_markup = [
| `Simple_media of media_href * media
| `Media_with_replacement_text of media_href * media * string
]
Source
type t = [
| `End
| `Space of string
| `Single_newline of string
| `Blank_line of string
| `Right_brace
| `Right_code_delimiter
| `Word of string
| `Code_span of string
| `Raw_markup of string option * string
| `Math_span of string
| `Math_block of string
| `Begin_style of style
| `Begin_paragraph_style of paragraph_style
| `Simple_reference of string
| `Begin_reference_with_replacement_text of string
| `Simple_link of string
| `Begin_link_with_replacement_text of string
| media_markup
| `Code_block of (string Loc.with_location * string Loc.with_location option) option * string * string Loc.with_location * bool
| `Verbatim of string
| `Modules of string
| `Begin_list of [ `Unordered | `Ordered ]
| `Begin_list_item of [ `Li | `Dash ]
| `Begin_table_light
| `Begin_table_heavy
| `Begin_table_row
| `Begin_table_cell of [ `Header | `Data ]
| `Minus
| `Plus
| `Bar
| section_heading
| tag
]
Source
val print :
[< `Bar
| `Begin_link_with_replacement_text of string & 'a
| `Begin_list_item of [ `Dash | `Li ] & [< `Dash | `Li ]
| `Begin_paragraph_style of paragraph_style & [< `Center | `Left | `Right ]
| `Begin_reference_with_replacement_text of string & 'b
| `Begin_section_heading of int * string option
| `Begin_style of
style & [< `Bold | `Emphasis | `Italic | `Subscript | `Superscript ]
| `Begin_table_cell of [ `Data | `Header ] & [< `Data | `Header ]
| `Begin_table_heavy
| `Begin_table_light
| `Begin_table_row
| `Media_with_replacement_text of
media_href * media * string & [< `Link of 'c | `Reference of 'd ]
* [< `Audio | `Image | `Video ]
* 'e
| `Minus
| `Plus
| `Raw_markup of string option * string & string option * 'f
| `Simple_media of
media_href * media & [< `Link of 'g | `Reference of 'h ]
* [< `Audio | `Image | `Video ]
| `Tag of
[ `Author of string
| `Before of string
| `Canonical of string
| `Children_order
| `Closed
| `Deprecated
| `Hidden
| `Inline
| `Open
| `Param of string
| `Raise of string
| `Return
| `See of [ `Document | `File | `Url ] * string
| `Short_title
| `Since of string
| `Version of string ] & [< `Author of 'i
| `Before of 'j
| `Canonical of 'k
| `Children_order
| `Closed
| `Deprecated
| `Hidden
| `Inline
| `Open
| `Param of 'l
| `Raise of 'm
| `Return
| `See of 'n
| `Short_title
| `Since of 'o
| `Version of 'p ] ] ->
string
Source
val describe :
[< `Bar
| `Begin_link_with_replacement_text of string & 'a
| `Begin_list of [ `Ordered | `Unordered ] & [< `Ordered | `Unordered ]
| `Begin_list_item of [ `Dash | `Li ] & [< `Dash | `Li ]
| `Begin_paragraph_style of paragraph_style & [< `Center | `Left | `Right ]
| `Begin_reference_with_replacement_text of string & 'b
| `Begin_section_heading of int * string option & int * 'c
| `Begin_style of
style & [< `Bold | `Emphasis | `Italic | `Subscript | `Superscript ]
| `Begin_table_cell of [ `Data | `Header ] & [< `Data | `Header ]
| `Begin_table_heavy
| `Begin_table_light
| `Begin_table_row
| `Blank_line of string & 'd
| `Code_block of
(string Loc.with_location * string Loc.with_location option) option
* string
* string Loc.with_location
* bool & 'e
| `Code_span of string & 'f
| `Comment
| `End
| `Math_block of string & 'g
| `Math_span of string & 'h
| `Media_with_replacement_text of
media_href * media * string & [< `Link of 'i | `Reference of 'j ]
* [< `Audio | `Image | `Video ]
* 'k
| `Minus
| `Modules of string & 'l
| `Plus
| `Raw_markup of string option * string & 'm
| `Right_brace
| `Right_code_delimiter
| `Simple_link of string & 'n
| `Simple_media of
media_href * media & [< `Link of 'o | `Reference of 'p ]
* [< `Audio | `Image | `Video ]
| `Simple_reference of string & 'q
| `Single_newline of string & 'r
| `Space of string & 's
| `Tag of
[ `Author of string
| `Before of string
| `Canonical of string
| `Children_order
| `Closed
| `Deprecated
| `Hidden
| `Inline
| `Open
| `Param of string
| `Raise of string
| `Return
| `See of [ `Document | `File | `Url ] * string
| `Short_title
| `Since of string
| `Version of string ] & [< `Author of 't
| `Before of 'u
| `Canonical of 'v
| `Children_order
| `Closed
| `Deprecated
| `Hidden
| `Inline
| `Open
| `Param of 'w
| `Raise of 'x
| `Return
| `See of 'y
| `Short_title
| `Since of 'z
| `Version of 'a1 ]
| `Verbatim of string & 'b1
| `Word of string ] ->
string
Source
val describe_element :
[< `Heading of int * 'a * 'b
| `Link of 'c
| `Reference of [< `Simple | `With_text ] * 'd * 'e ] ->
string
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>