-
Notifications
You must be signed in to change notification settings - Fork 53
OUT_SNIPPET_MD
Jurek Muszyński edited this page May 31, 2020
·
2 revisions
Renders HTML from the markdown snippet and writes the result to the output buffer. Snippet means content read from the file in snippets
directory. It is a hybrid solution, allowing mixed – partly rendered, partly static – content in one server response. Maximum rendered HTML length is TMP_BUFSIZE bytes.
Rendering is done by silgy_render_md.
None
void render_about(int ci)
{
header(ci); // dynamically render header
OUT_SNIPPET_MD("about.md"); // static part
footer(ci); // dynamically render footer
}