summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQrius <[email protected]>2024-09-26 00:11:05 +0200
committerQrius <[email protected]>2024-09-26 00:11:05 +0200
commit7050727a2683761beac9e4f123112d62b605db4f (patch)
tree60ec106de1c919088a3bf392c89ac5caf6f2e007
parent65b35f11e7242b08e375c80df5908d4275f3fe74 (diff)
downloadskaldpress-7050727a2683761beac9e4f123112d62b605db4f.tar.gz
skaldpress-7050727a2683761beac9e4f123112d62b605db4f.zip
Add comment on html_from_markdown
-rw-r--r--smp.15
1 files changed, 5 insertions, 0 deletions
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(<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.