dataguide icon indicating copy to clipboard operation
dataguide copied to clipboard

Code snippets interpret leading `-` as "remove" and render lines in red

Open nikolasburk opened this issue 2 years ago • 3 comments

Several examples on this page: https://www.prisma.io/dataguide/postgresql/authentication-and-authorization/role-management

For example:

image

nikolasburk avatar Mar 30 '22 09:03 nikolasburk

Thanks for the heads up. We noted this back here, but looks like we haven't been able to prioritize it yet

https://github.com/prisma/dataguide/issues/11

imchairmanm avatar Mar 30 '22 09:03 imchairmanm

It does the same with + too in a few cases where those are used as section dividers.

imchairmanm avatar Mar 30 '22 09:03 imchairmanm

I think we had the same in the main docs - there might be an issue indicating if this was closed/resolved or is still present. (We might have changed to having to activate it on the code block somehow)

janpio avatar Mar 30 '22 22:03 janpio

Closing as duplicate of #11 to clean up issues.

imchairmanm avatar Dec 01 '22 15:12 imchairmanm