You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am presenting code in Rust that implements lifetimes annotations marked with ' , for example: fn longer<'a>(a : &'a [i32], b : &'a [i32]) -> &'a [i32].
I am trying to highlight the annotation itself ('a) using the code:
This syntax causes the page rendering to crash (even terminating the process causes the node to remain on).
The question is do we not allow the use of this type of characters in the pattern or is this a bug?
The page rendering is running locally using pnpm dev on macOS.
I would appreciate a reply.
The text was updated successfully, but these errors were encountered:
I have come across a problem with highlighting sections of source code using a pattern/substring (as described in the https://nextra.site/docs/guide/syntax-highlighting#highlighting-substrings documentation).
I am presenting code in Rust that implements lifetimes annotations marked with ' , for example:
fn longer<'a>(a : &'a [i32], b : &'a [i32]) -> &'a [i32]
.I am trying to highlight the annotation itself (
'a
) using the code:This syntax causes the page rendering to crash (even terminating the process causes the node to remain on).
The question is do we not allow the use of this type of characters in the pattern or is this a bug?
The page rendering is running locally using
pnpm dev
on macOS.I would appreciate a reply.
The text was updated successfully, but these errors were encountered: