Literate.HtmlSourceThis modules weaves the source code and the legislative text together into a document that law professionals can understand.
Converts double lines into HTML newlines.
Raise an error if pygments cannot be found
val wrap_html :
string list ->
string option ->
Cli.backend_lang ->
Format.formatter ->
(Format.formatter -> unit) ->
unitUsage: wrap_html source_files custom_pygments language fmt wrapped
Prints an HTML complete page structure around the wrapped content.
Performs syntax highlighting on a piece of code by using Pygments and the special Catala lexer.
val law_article_item_to_html :
string option ->
C.backend_lang ->
Format.formatter ->
A.law_article_item ->
unitval law_structure_to_html :
string option ->
C.backend_lang ->
Format.formatter ->
A.law_structure ->
unitval program_item_to_html :
string option ->
C.backend_lang ->
Format.formatter ->
A.program_item ->
unit