| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
Nbparts.Types.Sources.Markdown
Documentation
Instances
| Data Inlines Source # | |
Defined in Nbparts.Types.Sources.Markdown Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Inlines -> c Inlines # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Inlines # toConstr :: Inlines -> Constr # dataTypeOf :: Inlines -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Inlines) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Inlines) # gmapT :: (forall b. Data b => b -> b) -> Inlines -> Inlines # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Inlines -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Inlines -> r # gmapQ :: (forall d. Data d => d -> u) -> Inlines -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Inlines -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Inlines -> m Inlines # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Inlines -> m Inlines # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Inlines -> m Inlines # | |
| Monoid Inlines Source # | |
| Semigroup Inlines Source # | |
| Show Inlines Source # | |
| HasAttributes Inlines Source # | |
Defined in Nbparts.Types.Sources.Markdown Methods addAttributes :: Attributes -> Inlines -> Inlines # | |
| IsInline Inlines Source # | |
| Rangeable Inlines Source # | |
Defined in Nbparts.Types.Sources.Markdown Methods ranged :: SourceRange -> Inlines -> Inlines # | |
| IsBlock Inlines Blocks Source # | |
Defined in Nbparts.Types.Sources.Markdown | |
Constructors
| Inline | |
Fields
| |
Instances
| Data Inline Source # | |
Defined in Nbparts.Types.Sources.Markdown Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Inline -> c Inline # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Inline # toConstr :: Inline -> Constr # dataTypeOf :: Inline -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Inline) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Inline) # gmapT :: (forall b. Data b => b -> b) -> Inline -> Inline # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Inline -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Inline -> r # gmapQ :: (forall d. Data d => d -> u) -> Inline -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Inline -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Inline -> m Inline # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Inline -> m Inline # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Inline -> m Inline # | |
| Show Inline Source # | |
data InlineType Source #
Constructors
| Code Text | |
| Emph Inlines | |
| Entity Text | |
| EscapedChar Char | |
| Image Text Text Inlines | |
| LineBreak | |
| Link Text Text Inlines | |
| RawInline Format Text | |
| SoftBreak | |
| Str Text | |
| Strong Inlines |
Instances
| Data InlineType Source # | |
Defined in Nbparts.Types.Sources.Markdown Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> InlineType -> c InlineType # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c InlineType # toConstr :: InlineType -> Constr # dataTypeOf :: InlineType -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c InlineType) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c InlineType) # gmapT :: (forall b. Data b => b -> b) -> InlineType -> InlineType # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> InlineType -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> InlineType -> r # gmapQ :: (forall d. Data d => d -> u) -> InlineType -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> InlineType -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> InlineType -> m InlineType # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> InlineType -> m InlineType # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> InlineType -> m InlineType # | |
| Show InlineType Source # | |
Defined in Nbparts.Types.Sources.Markdown Methods showsPrec :: Int -> InlineType -> ShowS # show :: InlineType -> String # showList :: [InlineType] -> ShowS # | |
singletonInlines :: InlineType -> Inlines Source #
mkInline :: InlineType -> Inline Source #
Instances
| Data Blocks Source # | |
Defined in Nbparts.Types.Sources.Markdown Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Blocks -> c Blocks # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Blocks # toConstr :: Blocks -> Constr # dataTypeOf :: Blocks -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Blocks) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Blocks) # gmapT :: (forall b. Data b => b -> b) -> Blocks -> Blocks # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Blocks -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Blocks -> r # gmapQ :: (forall d. Data d => d -> u) -> Blocks -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Blocks -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Blocks -> m Blocks # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Blocks -> m Blocks # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Blocks -> m Blocks # | |
| Monoid Blocks Source # | |
| Semigroup Blocks Source # | |
| Show Blocks Source # | |
| HasAttributes Blocks Source # | |
Defined in Nbparts.Types.Sources.Markdown Methods addAttributes :: Attributes -> Blocks -> Blocks # | |
| Rangeable Blocks Source # | |
Defined in Nbparts.Types.Sources.Markdown Methods ranged :: SourceRange -> Blocks -> Blocks # | |
| IsBlock Inlines Blocks Source # | |
Defined in Nbparts.Types.Sources.Markdown | |
Constructors
| Block | |
Fields
| |
Instances
| Data Block Source # | |
Defined in Nbparts.Types.Sources.Markdown Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Block -> c Block # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Block # dataTypeOf :: Block -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Block) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Block) # gmapT :: (forall b. Data b => b -> b) -> Block -> Block # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Block -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Block -> r # gmapQ :: (forall d. Data d => d -> u) -> Block -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Block -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Block -> m Block # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Block -> m Block # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Block -> m Block # | |
| Show Block Source # | |
Constructors
| Paragraph Inlines | |
| Plain Inlines | |
| ThematicBreak | |
| BlockQuote Blocks | |
| CodeBlock Text Text | |
| Heading Int Inlines | |
| RawBlock Format Text | |
| ReferenceLinkDefinition Text (Text, Text) | |
| List ListType ListSpacing Blocks |
Instances
| Data BlockType Source # | |
Defined in Nbparts.Types.Sources.Markdown Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> BlockType -> c BlockType # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c BlockType # toConstr :: BlockType -> Constr # dataTypeOf :: BlockType -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c BlockType) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c BlockType) # gmapT :: (forall b. Data b => b -> b) -> BlockType -> BlockType # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> BlockType -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> BlockType -> r # gmapQ :: (forall d. Data d => d -> u) -> BlockType -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> BlockType -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> BlockType -> m BlockType # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> BlockType -> m BlockType # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> BlockType -> m BlockType # | |
| Show BlockType Source # | |
singletonBlocks :: BlockType -> Blocks Source #