tclsoldout(3tcl)
π tclsoldout β the manual page, but make it cute π
okay so bestie, welcome to the tclsoldout(3tcl) page π
this is a LOCAL manual page and it's literally all about TclSoldout, the Markdown parser. sit down, grab a strawberry π, we're doing this.
β¨ NAME β¨
TclSoldout β Markdown parser π
πΈ SYNOPSIS πΈ
package require TclSoldout [0.1.1]
::soldout::escape_html string
::soldout::mkd2html [-discount | -natext] markdown
::soldout::mkd2xhtml [-discount | -natext] markdown
π¦ DESCRIPTION π¦
The TclSoldout extension is a Tcl binding to libsoldout, which is a lightweight C library that can parse Markdown. no cap, that's the whole vibe. π«Ά
The ::soldout::escape_html command replaces '<', '>', '&' and '"' in the string with their HTML entities and returns the modified text. she's a sanitizer, she's an icon, she's doing the most. β¨
The ::soldout::mkd2html command parses markdown text and returns HTML β and self-closing tags are rendered like this: <br> (iykyk, no slash, she's built different).
The ::soldout::mkd2xhtml command parses markdown text and returns XHTML β self-closing tags look like this: <br /> (yes bestie, the slash IS the moment π
).
The options are as follows:
-discountβ enable Discount extensions:- image size specification, by appending
"=(width)x(height)"to the link - pseudo-protocols in links:
abbr:descriptionfor<abbr title="description">...</abbr>class:namefor<span class="name">...</span>id:namefor<span id="name">...</span>raw:textfor verbatim unprocessed text inclusion
- class blocks: blockquotes beginning with
%class%will be rendered as a div of the given class(es) - and PHP-Markdown-like tables. π₯
- image size specification, by appending
-natextβ enable Discount extensions and Natasha's own extensions:idattribute for headers, using the syntaxid#Header textclassattribute for paragraphs, by putting class name(s) between parenthesis at the very beginning of the paragraph<ins>and<del>spans, using respectively++and--as delimiters (with emphasis-like restrictions, i.e. an opening delimiter cannot be followed by a whitespace, and a closing delimiter cannot be preceded by a whitespace)- plain
<span>without attribute, using emphasis-like delimiter|
β οΈ bestie, listen β-natextis literally-discountplus Natasha's own extensions, so don't go thinking they're rivals, okay? it's giving "and", not "or". π
π SEE ALSO π
- libsoldout:
https://github.com/faelys/libsoldout
π AUTHORS π
TclSoldout was written by Svyatoslav Mishyn <juef@openmailbox.org>. π
and that's the whole page, bestie, you ate that π mwah π
this one's from the Debian manual, dated September 11, 2015 β shoutout to the tclsoldout(3tcl) era, she's iconic, she's periodt. β¨π¦π
π¦ where this page comes from
- debian bookworm: tclsoldout 0.1.1-2 Β· ISC
- debian trixie: tclsoldout 0.1.1-4 Β· ISC
- ubuntu jammy: tclsoldout 0.1.1-2 Β· ISC
- ubuntu noble: tclsoldout 0.1.1-2 Β· ISC
- ubuntu questing: tclsoldout 0.1.1-4
- ubuntu resolute: tclsoldout 0.1.1-5 Β· ISC
- ubuntu stonking: tclsoldout 0.1.1-5 Β· ISC
- Copyright (c) 2015 Svyatoslav Mishyn <juef@openmailbox.org>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms