Closed DavidBal closed 1 week ago
Hi @DavidBal,
Because {}
are reserved TSDoc/JSDoc characters (see https://typedoc.org/guides/doccomments/#escaping-comments) they will need to be double escaped.
ie you will need to write:
(bspw. \\{B3C0768A\-5599\-44B5\-B4F2\-7D31A6C10EC5\\})
Hi @tgreyuk,
thank's for your answer.
With the added \
the generated markdown looks fine.
But the comment in vscode now not looks fine...
Is there a way to get both sides working?
My first idea would be to run a replace just for the markdown generation from \{
-> \\{
and \}
-> \\}
.
Thanks again.
Kind regards, David
As an alternative to escaping you could also try wrapping the braces in a single backtick like this:
(bspw. `{B3C0768A\-5599\-44B5\-B4F2\-7D31A6C10EC5}`)
What package is the bug related to?
docusaurus-plugin-typedoc
Describe the issue
Here the full error message:
I have this in my ts file:
As you see
{
is escaped. But in the generated markdown the{
is no longer escaped-Liefert ein Objekt vom Typ Container mit dem angegebenen Namen zurück.
Beim Erzeugen des ListContainers-Objekts ist darauf zu achten, dass dabei CurrentInputForm(mode: InputFormMode) (2) verwendet wird.Damit wird der aktuelle Modus des Containers samt aktuell selektiertem Datensatz beibehalten.
Parameters
containerName
string
Returns
Promise
\<Container
>Defined in