Re: Sample markup documentation file for a Tcl/Tk package

Liste des GroupesRevenir à cl tcl 
Sujet : Re: Sample markup documentation file for a Tcl/Tk package
De : wortkarg3 (at) *nospam* yahoo.com (Harald Oehlmann)
Groupes : comp.lang.tcl
Date : 24. Jan 2025, 09:41:57
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vmvjok$256k1$1@dont-email.me>
References : 1 2 3 4
User-Agent : Mozilla Thunderbird
Am 24.01.2025 um 09:24 schrieb TorstenBerg:
Hi,
 what did you use to produce the HTML with? For TIP 700, I propose Pandoc
for now as we do not yet have our own Tcl library that is capable of all
the markdown constructs we would like to have.
 Especially the `[string]{.optarg}` construct you mention is not possible
to render with e.g. the tcllib markdown module as it is a Pandoc
markdown syntax element.
 If you need to render it with Pandoc, you have to specify the
corresponding CSS element (Pandoc translates `.optarg` into a CSS class)
which could look like this (untested):
 optarg {
  font-style: italic;
   &:before {
    content: '?';
  }
   &:after {
    content: '?';
  }
}
  Regards, Torsten
Hi Torsten,
thanks for your contribution.
That is all ok and great.
I was following the steps described by Rolf:
- download pandoc.exe
- take main.css from https://github.com/ShaunKulesa/Docs-Maker/tree/main/docs
- invoke Pandoc as described by Rolf:
pandoc\pandoc.exe --standalone -f markdown -t html zxingcpp.md  --css main.css -o zxingcpp.html
- follow TIP700 syntax ({.optorg} etc.)
It is not a problem, that it does not work now.
When the documentation system is ready, I will enhance this.
Thanks for all the work and thanks for the {.optorg} explanation.
Take care,
Harald

Date Sujet#  Auteur
20 Jan 25 * Sample markup documentation file for a Tcl/Tk package8Harald Oehlmann
20 Jan 25 +* Re: Sample markup documentation file for a Tcl/Tk package2Robert Heller
22 Jan 25 i`- Re: Sample markup documentation file for a Tcl/Tk package1Harald Oehlmann
22 Jan 25 `* Re: Sample markup documentation file for a Tcl/Tk package5Rolf Ade
22 Jan 25  +- Re: Sample markup documentation file for a Tcl/Tk package1Harald Oehlmann
23 Jan 25  `* Re: Sample markup documentation file for a Tcl/Tk package3Harald Oehlmann
24 Jan 25   `* Re: Sample markup documentation file for a Tcl/Tk package2TorstenBerg
24 Jan 25    `- Re: Sample markup documentation file for a Tcl/Tk package1Harald Oehlmann

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal