| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Render.RichText
Contents
Synopsis
- data Block
- newtype Inlines = Inlines {}
- space :: Inlines
- text :: String -> Inlines
- text' :: ClassNames -> String -> Inlines
- parens :: Inlines -> Inlines
- linkRange :: Range -> Inlines -> Inlines
- linkHole :: Int -> Inlines
- icon :: String -> Inlines
- (<+>) :: Inlines -> Inlines -> Inlines
- punctuate :: Inlines -> [Inlines] -> [Inlines]
- braces :: Inlines -> Inlines
- braces' :: Inlines -> Inlines
- dbraces :: Inlines -> Inlines
- mparens :: Bool -> Inlines -> Inlines
- hcat :: [Inlines] -> Inlines
- hsep :: [Inlines] -> Inlines
- sep :: [Inlines] -> Inlines
- fsep :: [Inlines] -> Inlines
- vcat :: [Inlines] -> Inlines
- fcat :: [Inlines] -> Inlines
- arrow :: Inlines
- lambda :: Inlines
- forallQ :: Inlines
- showIndex :: (Show i, Integral i) => i -> String
- leftIdiomBrkt :: Inlines
- rightIdiomBrkt :: Inlines
- emptyIdiomBrkt :: Inlines
Documentation
Block elements
Constructors
| Labeled Inlines (Maybe String) (Maybe Range) String String | |
| Unlabeled Inlines (Maybe String) (Maybe Range) | |
| Header String |
Instances
showIndex :: (Show i, Integral i) => i -> String Source #
Shows a non-negative integer using the characters ₀-₉ instead of 0-9 unless the user explicitly asked us to not use any unicode characters.
Orphan instances
| ToJSON Range Source # | ToJSON instances for A.types |
| ToJSON SrcFile Source # | |
| ToJSON AbsolutePath Source # | |
Methods toJSON :: AbsolutePath -> Value # toEncoding :: AbsolutePath -> Encoding # toJSONList :: [AbsolutePath] -> Value # toEncodingList :: [AbsolutePath] -> Encoding # | |
| ToJSON (Interval' ()) Source # | |
| ToJSON (Position' ()) Source # | |