bug: comma in starting code snippet directive breaks syntax highlighting
Opened this issue · 0 comments
iuioiua commented
The following docs:
/**
* ```ts no-eval
* import { concat } from "@std/bytes/concat";
* import { assertEquals } from "@std/assert/assert-equals"
*
* const a = new Uint8Array([0, 1, 2]);
* const b = new Uint8Array([3, 4, 5]);
*
* assertEquals(concat([a, b]), new Uint8Array([0, 1, 2, 3, 4, 5]));
* ```
*/
Correctly renders, when using deno doc --html
:
The following docs:
/**
* ```ts, no-eval
* import { concat } from "@std/bytes/concat";
* import { assertEquals } from "@std/assert/assert-equals"
*
* const a = new Uint8Array([0, 1, 2]);
* const b = new Uint8Array([3, 4, 5]);
*
* assertEquals(concat([a, b]), new Uint8Array([0, 1, 2, 3, 4, 5]));
* ```
*/