From 7050727a2683761beac9e4f123112d62b605db4f Mon Sep 17 00:00:00 2001 From: Qrius Date: Thu, 26 Sep 2024 00:11:05 +0200 Subject: Add comment on html_from_markdown --- smp.1 | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'smp.1') diff --git a/smp.1 b/smp.1 index f64559c..35b4c3d 100644 --- a/smp.1 +++ b/smp.1 @@ -40,6 +40,11 @@ Shorthand for running the expr command, expands all arguments, and executes it o Format a RFC3339-timestamp to the specified format. Format is similar to strftime. Only available if the \fBtime\fR-feature was enabled during compilation. +.IP "\fBhtml_from_markdown()\fR" +If compiled with \fBmarkdown\fR, this macro will convert it's argument from markdown to html. +It will process it's input twice before actually doing the conversion. This is to remove the outer quotes of a argument. +So you should probably always quote arguments to this. + .SH OPTIONS If a input file is provided, that will be processed. If not, a sort of interactive REPL will be started instead. -- cgit v1.2.3