docs-parser icon indicating copy to clipboard operation
docs-parser copied to clipboard

Doesn't Handle String Union Types with Quotes inside Backticks

Open dsanders11 opened this issue 2 years ago • 0 comments

This is definitely a corner case, but currently prevents this example in the docs from being typed properly: https://github.com/electron/electron/blob/ce4ae584e357000b324228693ed7556922b6335f/docs/api/client-request.md?plain=1#L54-L58

I tried single quotes rather than double quotes with the same result, so the issue is quotes inside of the backticks. This might be tricky to make parse correctly with the current regex approach.

dsanders11 avatar Oct 12 '23 19:10 dsanders11