0
#include "my_getopt-1.5/getopt.h"
0
extern char *strdup(const char *string);
0
+static int extensions = 0;
0
/**********************************************************************
0
* is no blank line. We split the string by \001 and parse
0
* each chunk separately. */
0
contents = strtok(elt.contents.str, "\001");
0
- print_html_element(markdown(
contents), obfuscate);
0
+ print_html_element(markdown(
extensions, contents), obfuscate);
0
while ((contents = strtok(NULL, "\001")))
0
- print_html_element(markdown(
contents), obfuscate);
0
+ print_html_element(markdown(
extensions, contents), obfuscate);
0
printf("<blockquote>");
0
- print_html_element(markdown(e
elt.contents.str), obfuscate);
0
+ print_html_element(markdown(e
xtensions, elt.contents.str), obfuscate);
0
printf("</blockquote>");
0
* is no blank line. We split the string by \001 and parse
0
* each chunk separately. */
0
contents = strtok(elt.contents.str, "\001");
0
- print_latex_element(markdown(
contents));
0
+ print_latex_element(markdown(
extensions, contents));
0
while ((contents = strtok(NULL, "\001")))
0
- print_latex_element(markdown(
contents));
0
+ print_latex_element(markdown(
extensions, contents));
0
printf("\\begin{quote}");
0
- print_latex_element(markdown(e
elt.contents.str));
0
+ print_latex_element(markdown(e
xtensions, elt.contents.str));
0
printf("\\end{quote}\n\n");
0
* each chunk separately. */
0
contents = strtok(elt.contents.str, "\001");
0
- print_groff_mm_element(markdown(
contents), 1);
0
+ print_groff_mm_element(markdown(
extensions, contents), 1);
0
while ((contents = strtok(NULL, "\001"))) {
0
- print_groff_mm_element(markdown(
contents), 1);
0
+ print_groff_mm_element(markdown(
extensions, contents), 1);
0
- print_groff_mm_element(markdown(e
elt.contents.str), 1);
0
+ print_groff_mm_element(markdown(e
xtensions, elt.contents.str), 1);
0
strcat(inputbuf, strdup("\n\n")); /* add newlines to end to match Markdown.pl behavior */
0
- element parsed_input = markdown(
inputbuf);
0
+ element parsed_input = markdown(
extensions, inputbuf);
0
switch (output_format) {
Comments
No one has commented yet.