summaryrefslogtreecommitdiff
path: root/src/inlines.h
blob: 8c6e2cbf26fcb9e6b616b74b5bcb400f5edaa948 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef _INLINES_H_
#define _INLINES_H_

unsigned char *clean_url(chunk *url);
unsigned char *clean_autolink(chunk *url, int is_email);
unsigned char *clean_title(chunk *title);

node_inl* parse_inlines(strbuf *input, reference_map *refmap);
void free_inlines(node_inl* e);

int parse_reference_inline(strbuf *input, reference_map *refmap);

#endif