Sha256: b4e21c04b943fd9caf90167db738939c65a0055dd48b49383ac98880f1a57f24
Contents?: true
Size: 482 Bytes
Versions: 2
Compression:
Stored size: 482 Bytes
Contents
#include <stdlib.h> #include <assert.h> #include <stdio.h> #include "node.h" #include "houdini.h" #include "cmark.h" #include "buffer.h" const int cmark_version = CMARK_VERSION; const char cmark_version_string[] = CMARK_VERSION_STRING; char *cmark_markdown_to_html(const char *text, size_t len, int options) { cmark_node *doc; char *result; doc = cmark_parse_document(text, len, options); result = cmark_render_html(doc, options); cmark_node_free(doc); return result; }
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
commonmarker-0.2.1 | ext/commonmarker/cmark/src/cmark.c |
commonmarker-0.2.0 | ext/commonmarker/cmark/src/cmark.c |