summaryrefslogtreecommitdiffstats
path: root/src/cmds_command.c
diff options
context:
space:
mode:
authorPim Snel <pim@lingewoud.nl>2020-02-02 23:53:46 +0100
committerPim Snel <pim@lingewoud.nl>2020-02-02 23:53:46 +0100
commitc5506e584a07144b810b2a481a6629e83b83120c (patch)
tree40bd152c162e00a7ffd946f1f77815f4fa291250 /src/cmds_command.c
parent8b93daf225644cff3b3d02a64de53846cf15e7b0 (diff)
initial markdown export support
Diffstat (limited to 'src/cmds_command.c')
-rw-r--r--src/cmds_command.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cmds_command.c b/src/cmds_command.c
index 87fa72e..366b7c3 100644
--- a/src/cmds_command.c
+++ b/src/cmds_command.c
@@ -97,10 +97,12 @@ L"cpaste",
L"e csv",
L"e tab",
L"e txt",
+L"e mkd",
L"e xlsx",
L"e! csv",
L"e! tab",
L"e! txt",
+L"e! mkd",
L"e! xlsx",
L"datefmt",
L"delfilter",
@@ -924,6 +926,8 @@ void do_commandmode(struct block * sb) {
! wcsncmp(inputline, L"e! csv" , 6) ||
! wcsncmp(inputline, L"e tab" , 5) ||
! wcsncmp(inputline, L"e! tab" , 6) ||
+ ! wcsncmp(inputline, L"e mkd" , 4) ||
+ ! wcsncmp(inputline, L"e! mkd" , 5) ||
! wcsncmp(inputline, L"e txt" , 5) ||
! wcsncmp(inputline, L"e! txt" , 6) ) {
do_export( p == -1 ? 0 : sr->tlrow, p == -1 ? 0 : sr->tlcol,