dumpFileData¶
-
EditFrontMatter.
dumpFileData
(*args, **kwargs) → str[source]¶ Concatenate frontmatter with original content and return as a string.
- Returns
A string formed by the concatination of
fmatter
andfile_lines
(if file souce content is not empty* and yaml was present).An empty string if file source content is empty or original yaml was not present.
Hint
fmatter
andfile_lines
are still available if needed beyond this method. One way of managing this data would be to manually prepend yaml front matter tofile_lines
and rerunreadFile()
before calling this function again.