чување a79e6483598f9de6277f173f6542b828eccdefe4
родитељ 9bf9ea5eae694188bff01a818ae7e7c73745e808
Аутор: Страхиња Радић <contact@strahinja.org>
Датум: Thu, 2 May 2024 13:06:26 +0200
slweb.1.in: Small fixes
Signed-off-by: Страхиња Радић <contact@strahinja.org>
Diffstat:
измењених датотека: 1, додавања: 12(+), брисања: 11(-)
diff --git a/slweb.1.in b/slweb.1.in
@@ -116,10 +116,10 @@ To address combinations of lists and
.Dq raw
tags, which are problematic to mix together,
.Nm
-supports explicitly marking a raw tag with a
+supports explicitly marking a tag with a
.Dq break mark .
This currently means that when such a tag is introduced, any running list item
-and list will be closed prior to outputting the custom tag.
+and list will be closed prior to outputting the tag.
Tags with break marks are introduced by prepending the exclamation mark to the
tag name.
For example, without a break mark, the input:
@@ -195,7 +195,7 @@ Inline footnotes are also supported.
.It
.Sy Regular footnotes
have two mandatory parts: first, the footnote mark is represented by
-.Ql [^ Ns Ar footnoteid Ns \[rB] Ns ,
+.Ql [^ Ns Ar footnoteid Ns \[rB] ,
where
.Ar footnoteid
is the footnote identifier.
@@ -361,7 +361,7 @@ will be converted into
.Ql <a href="https://example.com">A link</a> .
.Pp
Special case is the form
-.Dl [= Ar somemacro No Link title](https://anything)
+.Dl [= Ns Ar somemacro No Link title](https://anything)
which prepends the body of a macro
.Ar somemacro
into the
@@ -391,7 +391,7 @@ like so:
This allows for separate styling of link text.
It can be combined with the macro\-form:
.Bd -literal -offset Ds
-[=somemacro (Link title)](http://asite.com)
+.No [= Ns Ar somemacro No (Link title)](http://asite.com)
.Ed
.Pp
It will prepend the body of a macro
@@ -400,7 +400,7 @@ outside of the
.Ql <span></span> :
.Bd -literal -offset Ds
<a href="http://asite.com">
-<!-- contents of somemacro -->
+.No <!-- contents of Ar somemacro No -->
<span>Link title</span></a>
.Ed
.Pp
@@ -921,10 +921,10 @@ templates.
.Pp
Parts of the template can be conditionally rendered by using the construct:
.Bd -literal -offset Ds
-$?n
- <!-- code to include if $n nonempty -->
+.No $? Ns Ar n
+.No <!-- code to include if $ Ns Ar n No nonempty -->
$?!
- <!-- code to include if $n empty -->
+.No <!-- code to include if $ Ns Ar n No empty -->
$?/
.Ed
.Pp
@@ -1044,7 +1044,7 @@ Changes the delimiter used for
.Pa .csv
file parsing.
By default, this will be a semicolon\
-.Pf "(" Ns Ql ; Ns
+.Pf "(" Ns Ql ";" Ns
).
See
.Sx "CSV templating" .
@@ -1253,7 +1253,8 @@ tag if it is set) as a heading with the level determined by the
variable, defaulting to 2.
.Pf "(" Ns Ql title: Some title
becomes
-.Ql <h2>Some title</h2> Ns ).
+.Ql <h2>Some title</h2> Ns
+).
.It
.Va title\-heading\-level .
See