aboutsummaryrefslogtreecommitdiffstats
path: root/src/content-parser.h
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2015-10-12 02:31:02 -0300
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2015-10-12 02:31:02 -0300
commit701ffe18c2f256245b4d016daafca208839a8f63 (patch)
tree6da1c4a4e5161bfa574e0c0149bb0e78346ba02d /src/content-parser.h
parent9aec1f36e80af5c06cb690bda125c628e26e5601 (diff)
downloadblogc-701ffe18c2f256245b4d016daafca208839a8f63.tar.gz
blogc-701ffe18c2f256245b4d016daafca208839a8f63.tar.bz2
blogc-701ffe18c2f256245b4d016daafca208839a8f63.zip
content-parser: added id attributes to headers
the id is a slugified version of the (unparsed) header content.
Diffstat (limited to 'src/content-parser.h')
-rw-r--r--src/content-parser.h1
1 files changed, 1 insertions, 0 deletions
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 <stdlib.h>
#include <stdbool.h>
+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);