From 7f70295826df9fdf040d175bc78f77aca0f1c1c4 Mon Sep 17 00:00:00 2001 From: Pim Snel Date: Thu, 6 Feb 2020 17:25:23 +0100 Subject: add --export_mkd option --- src/main.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c index 2b926e3..1da5ca8 100644 --- a/src/main.c +++ b/src/main.c @@ -329,10 +329,15 @@ int main (int argc, char ** argv) { export_delim(NULL, '\t', 0, 0, maxrow, maxcol, 0); } + if (get_conf_value("export_mkd")) { + export_markdown(NULL, 0, 0, maxrow, maxcol); + } + if (get_conf_value("export") || get_conf_value("export_txt")) { export_plain(NULL, 0, 0, maxrow, maxcol); } + while ( ! shall_quit && ! atoi((char *) get_conf_value("quit_afterload"))) { // save current time for runtime timer gettimeofday(¤t_tv, NULL); -- cgit v1.2.3