From 701ffe18c2f256245b4d016daafca208839a8f63 Mon Sep 17 00:00:00 2001 From: "Rafael G. Martins" Date: Mon, 12 Oct 2015 02:31:02 -0300 Subject: content-parser: added id attributes to headers the id is a slugified version of the (unparsed) header content. --- src/content-parser.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/content-parser.h') diff --git a/src/content-parser.h b/src/content-parser.h index 4579719..2f6b8b9 100644 --- a/src/content-parser.h +++ b/src/content-parser.h @@ -12,6 +12,7 @@ #include #include +char* blogc_slugify(const char *str); char* blogc_content_parse_inline(const char *src); bool blogc_is_ordered_list_item(const char *str, size_t prefix_len); char* blogc_content_parse(const char *src, size_t *end_excerpt); -- cgit v1.2.3-18-g5258