To focus the search input from anywhere on the page, press the 'S' key.
in-package search v0.1.0
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
type highlight = {
lang : string option;
(*optional language of syntax
*)body : Astring.String.Sub.t;
(*code to be highlighted
*)linenos : bool;
(*whether line numbers should be emitted
*)
}
highlight
represents the various syntax highlighting options.
val mk_highlight :
?lang:string ->
?body:Astring.String.sub ->
?linenos:bool ->
unit ->
highlight
mk_highlight
constructs a highlight
value. lang
defaults to None
, body
defaults to Astring.String.Sub.empty
and linenos
defaults to false
.
val highlight : string -> highlight option
highlight s
attempts to parse the contents of a {% highlight %}
tag. s
should have had the tags removed via extract_tag
and just contain the tag body.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>