Closed muzimuzhi closed 6 months ago
The \foomakedocSubKey
example is needed for later reference, but I can replace the \foomakedocSubKey*
by a \section*
example as suggested. Also, I will change the newtheorem
example. Thank you.
resolved in eb19e7e (6.2.0 (Preview 3), 2023-11-24).
\sarg
is supported since v6.0.2 (see #193) and it is designed to represent an optional star as one of command arguments.Currently there are two examples that document commands accepting an optional star, but for now such stars are both part of command names, hence visually non optional.
In two examples for
docCommand
envI feel like
\foomakedocSubKey
and\foomakedocSubKey*
are not a good pair of examples, since the real command\tcbmakedocSubKey
doesn't have a starred form.Either the second example for
\foomakedocSubKey*
can be removed or\foomakedocSubKey(*)
can be replaced by some command that does have a starred form, like\section
In the example for
docCommands
envPS: For highlighting,
\sarg
need to be added to\lstdefinestyle{mydocumentation}{...}
intcolorbox.doc.s_main.sty