module Textile:sig
..end
type
attr =
| |
Class of |
(* |
p(myclass).
| *) |
| |
Id of |
(* |
p(#myid).
| *) |
| |
Style of |
(* |
p{color:red}.
| *) |
| |
Language of |
(* |
p[fr-fr].
| *) |
type
img_float =
| |
Float_left |
(* |
<
| *) |
| |
Float_right |
(* |
>
| *) |
type
talign =
| |
Right |
(* |
>
| *) |
| |
Left |
(* |
<
| *) |
| |
Center |
(* |
=
| *) |
| |
Justify |
(* |
<>
| *) |
type
valign =
| |
Top |
(* |
^
| *) |
| |
Middle |
(* |
-
| *) |
| |
Bottom |
(* |
~
| *) |
typepadding =
int * int
typeoptions =
attr list * talign option * padding
Bold ([], [CData "ocaml is ";
Italic ([], [CData "functional"]); CData " language"])
type
phrase =
| |
CData of |
|||
| |
Emphasis of |
(* |
_
| *) |
| |
Strong of |
(* |
*
| *) |
| |
Italic of |
(* |
__
| *) |
| |
Bold of |
(* |
**
| *) |
| |
Citation of |
(* |
??
| *) |
| |
Deleted of |
(* |
-
| *) |
| |
Inserted of |
(* |
+
| *) |
| |
Superscript of |
(* |
^
| *) |
| |
Subscript of |
(* |
~
| *) |
| |
Span of |
(* |
%
| *) |
| |
Code of |
(* |
@
| *) |
| |
Notextile of |
(* |
==
| *) |
| |
Acronym of |
(* |
ABC(Always Be Closing)
| *) |
| |
Image of |
(* |
!imgsrc(alt)!
| *) |
| |
Link of |
(* |
"linktext(title)":url
| *) |
| |
Reference of |
(* |
[1]
| *) |
typeline =
phrase list
typeelement =
int * line
typetableoptions =
options * valign option
type
celltype =
| |
Data |
(* |
| <...> |
| *) |
| |
Head |
(* |
|_. <...> |
| *) |
typecellspan =
int option * int option
typecelloptions =
celltype * tableoptions * cellspan
typecell =
celloptions * line list
typerow =
tableoptions * cell list
type
block =
| |
Header of |
(* |
h1.
| *) |
| |
Blockquote of |
(* |
bq.
| *) |
| |
Footnote of |
(* |
fnn.
| *) |
| |
Paragraph of |
(* |
p.
| *) |
| |
Blockcode of |
(* |
bc.
| *) |
| |
Pre of |
(* |
pre.
| *) |
| |
Blocknott of |
(* |
notextile.
| *) |
| |
Numlist of |
(* |
#
| *) |
| |
Bulllist of |
(* |
*
| *) |
| |
Table of |
(* |
|t|a|b|
| *) |
val string_of_line : line -> string