markright v0.3.1 Markright.Collectors.Type
Collector that determines the type of the article.
The pattern is:
- :decorated — the article has at least one image in it
- :tech — the article includes code blocks, value is the list of languages used
type
as:- :default — default
- :twit — single sentense, presumably of length <= 140 symbols (not validated here)
- :image — the article contains a single image only
- :album — the article has at least two images
Summary
Functions
Callback implementation for Markright.Collector.afterwards/2
Callback implementation for Markright.Collector.on_ast/2
Types
t()
t() :: %Markright.Collectors.Type{decorated: true | false, tech: List.t, type: :default | :twit | :mediatwit | :image | :album}
Functions
Callback implementation for Markright.Collector.afterwards/2
.
Callback implementation for Markright.Collector.on_ast/2
.