slweb

Једноставни генератор статичких веб страна
git clone https://git.sr.ht/~strahinja/slweb
Дневник | Датотеке | Референце | ПРОЧИТАЈМЕ | ЛИЦЕНЦА

чување 1764981b637d6941563ecf6fe09d7cc15c87d4fb
родитељ 7f14344e67799376cb64b3e70d270eb5923e3a56
Аутор: Страхиња Радић <contact@strahinja.org>
Датум:   Wed,  1 May 2024 22:43:43 +0200

slweb.1.in: Change \[u...] back + add \& to appease mandoc and man2html

Signed-off-by: Страхиња Радић <contact@strahinja.org>

Diffstat:
Mslweb.1.in | 20++++++++++----------
измењених датотека: 1, додавања: 10(+), брисања: 10(-)

diff --git a/slweb.1.in b/slweb.1.in @@ -72,11 +72,11 @@ on the lines by themselves will be put inside Any .Dq less\-than characters inside backticks will be converted to -.Ql &lt\[u003b] +.Ql &lt;\& and .Dq ampersand characters to -.Ql &amp\[u003b] . +.Ql &amp;\& . Any text following the first triple backticks until the end of the line will be ignored. This is to account for language highlighting specification, which isn't yet @@ -270,14 +270,14 @@ A line starting with followed by space will be put inside .Ql <h?></h?> , where -.Ql "?" +.Ql ?\& stands for 1-4, depending on the number of hash signs. Tags will have .Cm id attributes set to -.Ql heading-\[u003f] , +.Ql heading-?\& , with -.Ql "?" +.Ql ?\& set to the number representing its position within the list of all headings. .It .Sy "Horizontal rules" . @@ -338,14 +338,14 @@ to .It .Sy "Keyboard tags" . Text inside -.Ql ||double bars|\[u007c] +.Ql ||double bars||\& will be put inside .Ql <kbd></kbd> tags. As with backticks, any .Dq less\-than character will be converted to -.Ql &lt\[u003b] . +.Ql &lt;\& . .It .Sy "Line breaks" . Two spaces followed by a newline will become @@ -420,7 +420,7 @@ Everything said about inline links applies to regular links, with the exception that instead of the parenthesized URL, link text inside brackets should be followed by link id (different than the .Cm id -.Em attribute\[u0021] ) +.Em attribute!\& ) inside brackets, and a separate definition of that link id is needed, usually near the end of input. .Pp @@ -501,14 +501,14 @@ otherwise start a list shall just be inserted as-is in the output. Tilde followed by a hyphen .Pf "(" Ql ~- ) will insert -.Ql &#8209\[u003b] +.Ql &#8209;\& in the output. .It .Sy "Non\-breaking space" . Two consecutive tildes .Pf "(" Ql ~~ ) will produce -.Ql &nbsp\[u003b] +.Ql &nbsp;\& in the output. .It .Sy Paragraphs .