Vertispan / jsinterop-ts-defs

Ingests jsinterop-annotated Java and generates TypeScript definitions
Apache License 2.0
7 stars 3 forks source link

@code blocks are translated to tick marks even in cases where this will not be rendered as code #104

Closed niloc132 closed 5 months ago

niloc132 commented 5 months ago

In some markdown implementations, including typedoc, tick marks inside of html tags are not always rendered as code:

works:

<i>example `code snippet` in tags</i>

example code snippet in tags

doesn't work:

<ul>
  <li>broken `code snippet` in tags</li>
<ul>

It looks like a <code> tag would work consistently, so that we don't need to detect what context we're in for each {@code} tag, decide if a tick would be appropriate or not.

See https://github.com/Vertispan/jsinterop-ts-defs/pull/81