-
Notifications
You must be signed in to change notification settings - Fork 2
OUT_SNIPPET_MD
Jurek Muszyński edited this page Mar 28, 2024
·
3 revisions
Parses snippet (that is, file from snippets
directory) as Markdown and writes the result to the output buffer. It is a hybrid solution, allowing mixed – partly rendered, partly static – content in one server response.
None
void render_about()
{
header(); // dynamically render header
OUT_SNIPPET_MD("about.md"); // static part
footer(); // dynamically render footer
}