Module
Data.Text.Format.Dodo.Format
- Package
- purescript-text-formatting
- Repository
- shamansir/purescript-text-formatting
#Tag Source
type Tag = DocWithFormat
#_tag Source
_tag :: Directive -> DocWithFormat -> DocWithFormat
#_etag Source
_etag :: Directive -> DocWithFormat
#FootnoteId Source
#ProgrammingLanguage Source
#ImageParams Source
newtype ImageParams
Constructors
ImageParams { caption :: Caption, height :: ImageSide, width :: ImageSide }
Instances
#Format Source
data Format
Constructors
Bold
Emphasis
Underline
Highlight
Blink
Inverse
Invisible
Strikethrough
Monospaced
Header HLevel (Maybe Anchor)
Quote (Maybe QuoteOf)
Verbatim
Link Url
InlineImage ImageParams Url
Footnote FootnoteId
LinkTo FootnoteId
Code ProgrammingLanguage
Comment
FixedWidth
Sub
Sup
Fg (Either String Color)
Bg (Either String Color)
Instances
#hr Source
hr :: DocWithFormat
#nil Source
nil :: DocWithFormat
#s Source
s :: String -> DocWithFormat
#plain Source
plain :: String -> DocWithFormat
#lefts Source
lefts :: String -> DocWithFormat
#left Source
left :: DocWithFormat -> DocWithFormat
#rights Source
rights :: String -> DocWithFormat
#right Source
right :: DocWithFormat -> DocWithFormat
#centers Source
centers :: String -> DocWithFormat
#center Source
center :: DocWithFormat -> DocWithFormat
#bolds Source
bolds :: String -> DocWithFormat
#bold Source
bold :: DocWithFormat -> DocWithFormat
#em Source
em :: DocWithFormat -> DocWithFormat
#i Source
i :: DocWithFormat -> DocWithFormat
#u Source
u :: DocWithFormat -> DocWithFormat
#thru Source
thru :: DocWithFormat -> DocWithFormat
#monos Source
monos :: String -> DocWithFormat
#mono Source
mono :: DocWithFormat -> DocWithFormat
#underlines Source
underlines :: String -> DocWithFormat
#blinks Source
blinks :: String -> DocWithFormat
#blink Source
blink :: DocWithFormat -> DocWithFormat
#inverses Source
inverses :: String -> DocWithFormat
#invisibles Source
invisibles :: String -> DocWithFormat
#wrap Source
wrap :: DocWithFormat -> DocWithFormat -> DocWithFormat -> DocWithFormat
#wraps Source
wraps :: String -> String -> DocWithFormat -> DocWithFormat
#link Source
link :: Url -> DocWithFormat -> DocWithFormat
#img Source
img :: Url -> DocWithFormat
#imgp Source
imgp :: ImageParams -> Url -> DocWithFormat
#iimg Source
iimg :: Url -> DocWithFormat -> DocWithFormat
#iimgc Source
iimgc :: Caption -> Url -> DocWithFormat -> DocWithFormat
#iimgp Source
iimgp :: ImageParams -> Url -> DocWithFormat -> DocWithFormat
#cauto Source
cauto :: Caption -> ImageParams
#ftn Source
ftn :: String -> DocWithFormat -> DocWithFormat
#ftni Source
ftni :: Int -> DocWithFormat -> DocWithFormat
#to_ftn Source
to_ftn :: String -> DocWithFormat -> DocWithFormat
#to_ftni Source
to_ftni :: Int -> DocWithFormat -> DocWithFormat
#h Source
h :: Int -> DocWithFormat -> DocWithFormat
#h' Source
h' :: Int -> String -> DocWithFormat -> DocWithFormat
#define Source
define :: String -> DocWithFormat -> DocWithFormat
#dt Source
dt :: DocWithFormat -> DocWithFormat -> TermAndDefinition
#f Source
f :: Format -> DocWithFormat -> DocWithFormat
#list Source
list :: DocWithFormat -> Array DocWithFormat -> DocWithFormat
#list_ Source
list_ :: Array DocWithFormat -> DocWithFormat
#listb Source
listb :: Bullet -> DocWithFormat -> Array DocWithFormat -> DocWithFormat
#listb_ Source
listb_ :: Bullet -> Array DocWithFormat -> DocWithFormat
#_list Source
_list :: Bullet -> Maybe DocWithFormat -> Array DocWithFormat -> DocWithFormat
#stack Source
stack :: Array DocWithFormat -> DocWithFormat
#paras Source
paras :: Array DocWithFormat -> DocWithFormat
#fgc Source
fgc :: Color -> DocWithFormat -> DocWithFormat
#fg Source
fg :: String -> DocWithFormat -> DocWithFormat
#bgc Source
bgc :: Color -> DocWithFormat -> DocWithFormat
#bg Source
bg :: String -> DocWithFormat -> DocWithFormat
#nl Source
nl :: DocWithFormat
#nest Source
nest :: Int -> Array DocWithFormat -> DocWithFormat
#indent Source
indent :: Int -> DocWithFormat -> DocWithFormat
#group Source
group :: Array DocWithFormat -> DocWithFormat
#joinWith Source
joinWith :: DocWithFormat -> Array DocWithFormat -> DocWithFormat
#tableh Source
tableh :: Array DocWithFormat -> Array (Array DocWithFormat) -> DocWithFormat
#table Source
table :: Array (Array DocWithFormat) -> DocWithFormat
#quote Source
quote :: DocWithFormat -> DocWithFormat
#quote_by Source
quote_by :: QuoteOf -> DocWithFormat -> DocWithFormat
#mark Source
mark :: DocWithFormat -> DocWithFormat -> DocWithFormat
#sub Source
sub :: DocWithFormat -> DocWithFormat
#sup Source
sup :: DocWithFormat -> DocWithFormat
#pagebreakAt Source
pagebreakAt :: Int -> DocWithFormat
#id Source
id :: String -> DocWithFormat -> DocWithFormat
#_class Source
_class :: String -> DocWithFormat -> DocWithFormat
#bl_id Source
bl_id :: String -> DocWithFormat -> DocWithFormat
#bl_class Source
bl_class :: String -> DocWithFormat -> DocWithFormat
#custom Source
custom :: String -> DocWithFormat -> DocWithFormat
#custom_ Source
custom_ :: String -> Array (String /\ String) -> DocWithFormat -> DocWithFormat
#_null Source
_null :: DocWithFormat -> DocWithFormat
#hLevelToInt Source
hLevelToInt :: HLevel -> Int
#hLevelFromInt Source
hLevelFromInt :: Int -> HLevel
- Modules
- Data.
Text. Diff - Data.
Text. Doc - Data.
Text. Format - Data.
Text. Format. Dodo. Format - Data.
Text. Format. Dodo. Printer - Data.
Text. Format. Dodo. Renderer - Data.
Text. Format. Dodo. WrapRule - Data.
Text. Output - Data.
Text. Output. Blessed - Data.
Text. Output. Html - Data.
Text. Output. LaTeX - Data.
Text. Output. Markdown - Data.
Text. Output. Org