package hilite

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Hilite.SyntaxSource

Useful functions over source code strings producing HTML as plain strings

Sourcetype 'a res = ('a, [ `Msg of string ]) result
Sourceval src_code_to_html : lang:string -> src:string -> string res

src_code_to_html ~lang ~src will highlight the source code src in language lang and return a string

OCaml

Innovation. Community. Security.