;dev: doc
This commit is contained in:
parent
fdbf1b920f
commit
39f3b2c7ba
@ -282,10 +282,11 @@ directivep = (do
|
|||||||
]
|
]
|
||||||
) <?> "directive"
|
) <?> "directive"
|
||||||
|
|
||||||
-- | Parse an include directive. include's argument is an optionally
|
-- | Parse an include directive, and the file(s) it refers to, possibly recursively.
|
||||||
-- file-format-prefixed file path or glob pattern. In the latter case,
|
-- include's argument is a file path or glob pattern, optionally with a file type prefix.
|
||||||
-- the prefix is applied to each matched path. Examples:
|
-- ~ at the start is expanded to the user's home directory.
|
||||||
-- foo.j, foo/bar.j, timedot:foo/2020*.md
|
-- Relative paths are relative to the current file.
|
||||||
|
-- Examples: foo.j, ../foo/bar.j, timedot:/foo/2020*, *.journal
|
||||||
includedirectivep :: MonadIO m => ErroringJournalParser m ()
|
includedirectivep :: MonadIO m => ErroringJournalParser m ()
|
||||||
includedirectivep = do
|
includedirectivep = do
|
||||||
string "include"
|
string "include"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user