package omd

  1. Overview
  2. Docs
module R : sig ... end
class ref_container : object ... end
type element =
  1. | H1 of t
  2. | H2 of t
  3. | H3 of t
  4. | H4 of t
  5. | H5 of t
  6. | H6 of t
  7. | Paragraph of t
  8. | Text of string
  9. | Emph of t
  10. | Bold of t
  11. | Ul of t list
  12. | Ol of t list
  13. | Ulp of t list
  14. | Olp of t list
  15. | Code of name * string
  16. | Code_block of name * string
  17. | Br
  18. | Hr
  19. | NL
  20. | Url of href * t * title
  21. | Ref of ref_container * name * string * fallback
  22. | Img_ref of ref_container * name * alt * fallback
  23. | Html of string
  24. | Html_block of string
  25. | Html_comment of string
  26. | Blockquote of t
  27. | Img of alt * src * title
  28. | X of < name : string ; to_html : ?indent:int -> (t -> string) -> t -> string option ; to_sexpr : (t -> string) -> t -> string option ; to_t : t -> t option >
and fallback = string
and name = string
and alt = string
and src = string
and href = string
and title = string
and t = element list
type tok =
  1. | Ampersand
  2. | Ampersands of int
  3. | At
  4. | Ats of int
  5. | Backquote
  6. | Backquotes of int
  7. | Backslash
  8. | Backslashs of int
  9. | Bar
  10. | Bars of int
  11. | Caret
  12. | Carets of int
  13. | Cbrace
  14. | Cbraces of int
  15. | Colon
  16. | Colons of int
  17. | Comma
  18. | Commas of int
  19. | Cparenthesis
  20. | Cparenthesiss of int
  21. | Cbracket
  22. | Cbrackets of int
  23. | Dollar
  24. | Dollars of int
  25. | Dot
  26. | Dots of int
  27. | Doublequote
  28. | Doublequotes of int
  29. | Exclamation
  30. | Exclamations of int
  31. | Equal
  32. | Equals of int
  33. | Greaterthan
  34. | Greaterthans of int
  35. | Hash
  36. | Hashs of int
  37. | Lessthan
  38. | Lessthans of int
  39. | Minus
  40. | Minuss of int
  41. | Newline
  42. | Newlines of int
  43. | Number of string
  44. | Obrace
  45. | Obraces of int
  46. | Oparenthesis
  47. | Oparenthesiss of int
  48. | Obracket
  49. | Obrackets of int
  50. | Percent
  51. | Percents of int
  52. | Plus
  53. | Pluss of int
  54. | Question
  55. | Questions of int
  56. | Quote
  57. | Quotes of int
  58. | Semicolon
  59. | Semicolons of int
  60. | Slash
  61. | Slashs of int
  62. | Space
  63. | Spaces of int
  64. | Star
  65. | Stars of int
  66. | Tab
  67. | Tabs of int
  68. | Tilde
  69. | Tildes of int
  70. | Underscore
  71. | Underscores of int
  72. | Word of string
  73. | Tag of extension
and extension = t -> tok list -> tok list -> (t * tok list * tok list) option
type extensions = extension list
val loose_compare : t -> t -> int
val normalise_md : t -> t
OCaml

Innovation. Community. Security.