API reference
python:doukimd.content.split_front_matter
function split_front_matter
split_front_matter(text: str, source: Path) -> tuple[PageSettings, str]
Source: src/doukimd/content.py:73
Extract literal front matter before any template evaluation.
Parameters
-
text — Type: str
-
source — Type: Path
Returns
Type: tuple[PageSettings, str]