Data.Text.Format.Org.Construct
- Package
- purescript-org-doc
- Repository
- shamansir/purescript-org-doc
#f_ Source
f_ :: Array (OrgKeyword String) -> Array (OrgProperty String) -> OrgDoc -> OrgFile
Create OrgFile
with given meta
keywords and properties and given OrgDoc
as its root
#meta_kw Source
meta_kw :: OrgKeyword String -> OrgFile -> OrgFile
Add meta keyword to the OrgFile
as the last one
#meta_kw_ Source
meta_kw_ :: OrgKeyword String -> OrgFile -> OrgFile
Add meta keyword to the OrgFile
as the first one
#meta_prop Source
meta_prop :: OrgProperty String -> OrgFile -> OrgFile
Add property to the OrgFile
properties drawer as the last one
#meta_prop_ Source
meta_prop_ :: OrgProperty String -> OrgFile -> OrgFile
Add property to the OrgFile
properties drawer as the first one
#todoSequence Source
todoSequence :: Array ProgressStep -> Array FinishStep -> OrgFile -> OrgFile
#det_item Source
det_item :: DetachedListItem -> Block
#tbreak_c Source
tbreak_c :: TableCustomBreak -> TableRow
#tcol1 Source
tcol1 :: Words -> TableColumn
#tskip Source
tskip :: TableColumn
#ref Source
ref :: LinkTarget -> Words
#raw Source
raw :: LinkTarget -> Words
#rem Source
rem :: String -> LinkTarget
#loc Source
loc :: String -> LinkTarget
#head Source
head :: String -> LinkTarget
#irem Source
irem :: String -> ImageSource
#iloc Source
iloc :: String -> ImageSource
#img_ Source
img_ :: ImageSource -> Words
#imgRaw_ Source
imgRaw_ :: ImageSource -> Words
#logbook_item_cont Source
logbook_item_cont :: Array Words -> LogBookEntry -> LogBookEntry
#clockB Source
clockB :: OrgDateTime -> OrgDateTime -> Int -> Int -> Block
#adate Source
adate :: Date -> OrgDateTime
active timestamp with given Date
and no specific Time
or repeat / delays
#idate Source
idate :: Date -> OrgDateTime
inactive timestamp with given Date
and no specific Time
or repeat / delays
#adatetime Source
adatetime :: Date -> Time -> OrgDateTime
active timestamp with given Date
and given Time
and no repeat / delays
#idatetime Source
idatetime :: Date -> Time -> OrgDateTime
inactive timestamp with given Date
and given Time
and no repeat / delays
#at_ Source
at_ :: Time -> OrgDateTime -> OrgDateTime
change Time
of the timestamp
#fromto Source
fromto :: Time -> Time -> OrgDateTime -> OrgDateTime
change Time
of the timestamp to given range
#chdate Source
chdate :: Date -> OrgDateTime -> OrgDateTime
change Dtae
of the timestamp
#afromto Source
afromto :: Date -> Time -> Time -> OrgDateTime
active timestamp with given Date
and given Time
range and no repeat / delays
#ifromto Source
ifromto :: Date -> Time -> Time -> OrgDateTime
inactive timestamp with given Date
and given Time
range and no repeat / delays
#at Source
at :: OrgDateTime -> Words
Words
contructed from this timestamp
#range Source
range :: OrgDateTime -> OrgDateTime -> Words
Words
contructed from given timestamp
#ch_rng Source
ch_rng :: (Maybe OrgTimeRange -> OrgTimeRange) -> OrgDateTime -> OrgDateTime
#sec_head' Source
sec_head' :: (NonEmptyArray Words -> NonEmptyArray Words) -> Section -> Section
Update heading of the Section
#mk_drawer' Source
mk_drawer' :: String -> NonEmptyArray Words -> Drawer
#logbook_add Source
logbook_add :: LogBookEntry -> LogBook -> LogBook
#sec_append_drawer Source
sec_append_drawer :: Drawer -> Section -> Section
Append drawer as the last one into the section
#note Source
note :: Array Words -> OrgDateTime -> LogBookEntry
#at_r Source
at_r :: Time -> OrgTimeRange
create `Time`` range that starts at given time and never ends (it is the same as just stating a time)
#fromto_r Source
fromto_r :: Time -> Time -> OrgTimeRange
create `Time`` range that starts at given time and ends and given time
#repeat Source
repeat :: RepeaterMode -> Int -> Interval -> OrgDateTime -> OrgDateTime
#rwith Source
rwith :: Int -> Interval -> OrgDateTime -> OrgDateTime
#delay Source
delay :: DelayMode -> Int -> Interval -> OrgDateTime -> OrgDateTime
#wlast_bl_rec Source
wlast_bl_rec :: (Block -> Block) -> OrgDoc -> OrgDoc
Recursively (going into sections, unlike wlast_bl
and wlast_bl'
) find the last block and call given function with it; if OrgDoc
is empty, do nothing
#append_bl' Source
append_bl' :: Block -> OrgDoc -> OrgDoc
Ensure to append given block to the end of the given document
#inject_words Source
inject_words :: Array Words -> Block -> Block
If Block
can directly contain words (Of
, Drawer
, Footnote
, DetachedItem
, Paragraph
, WithKeyword
, FixedWidth
, but neither List
or LogBook
or Table
or HR
or LComment
or ClockB
)
add given words to the end of the block
#det_indent Source
det_indent :: String -> DetachedListItem -> DetachedListItem
#det_ch_ltype Source
det_ch_ltype :: (ListType -> ListType) -> DetachedListItem -> DetachedListItem
#det_check Source
det_check :: Check -> DetachedListItem -> DetachedListItem
#det_tag Source
det_tag :: String -> DetachedListItem -> DetachedListItem
#isDocEmpty Source
isDocEmpty :: OrgDoc -> Boolean
#__qset Source
__qset :: ({ check :: Maybe Check, comment :: Boolean, cookie :: Maybe Cookie, doc :: OrgDoc, drawers :: Array Drawer, heading :: NonEmptyArray Words, level :: Int, logbook :: Maybe LogBook, planning :: Planning, priority :: Maybe Priority, props :: OrgProperties String, tags :: Array String, todo :: Maybe Todo } -> { check :: Maybe Check, comment :: Boolean, cookie :: Maybe Cookie, doc :: OrgDoc, drawers :: Array Drawer, heading :: NonEmptyArray Words, level :: Int, logbook :: Maybe LogBook, planning :: Planning, priority :: Maybe Priority, props :: OrgProperties String, tags :: Array String, todo :: Maybe Todo }) -> Section -> Section
#__qplan Source
__qplan :: ({ closed :: Maybe OrgDateTime, deadline :: Maybe OrgDateTime, scheduled :: Maybe OrgDateTime, timestamp :: Maybe OrgDateTime } -> { closed :: Maybe OrgDateTime, deadline :: Maybe OrgDateTime, scheduled :: Maybe OrgDateTime, timestamp :: Maybe OrgDateTime }) -> Section -> Section