Some cleanup on examples/
This commit is contained in:
parent
2845a9e5c2
commit
7d69ddd4af
2 changed files with 1 additions and 4 deletions
|
@ -1,6 +1,5 @@
|
||||||
#include "markdown.h"
|
#include "markdown.h"
|
||||||
#include "html.h"
|
#include "html.h"
|
||||||
#include "buffer.h"
|
|
||||||
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
#include "markdown.h"
|
|
||||||
#include "html.h"
|
#include "html.h"
|
||||||
#include "buffer.h"
|
|
||||||
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <getopt.h>
|
#include <getopt.h>
|
||||||
|
@ -38,7 +36,7 @@ main(int argc, char **argv)
|
||||||
if (in != stdin)
|
if (in != stdin)
|
||||||
fclose(in);
|
fclose(in);
|
||||||
|
|
||||||
/* performing markdown parsing */
|
/* performing SmartyPants parsing */
|
||||||
ob = hoedown_buffer_new(OUTPUT_UNIT);
|
ob = hoedown_buffer_new(OUTPUT_UNIT);
|
||||||
|
|
||||||
hoedown_html_smartypants(ob, ib->data, ib->size);
|
hoedown_html_smartypants(ob, ib->data, ib->size);
|
||||||
|
|
Loading…
Reference in a new issue