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
AFAICT for the other tags, even the related fenced code block the start tag starts at the end of the previous token, the content will then be covered by the following text nodes.
For indented code blocks, the leading indent is currently not part of the token's span.
I'd expect this to be correct:
use pulldown_cmark::Parser;let text = " code";let range = Parser::new(text).into_offset_iter().next().unwrap().1;assert_eq!(range, 0..8);
The text was updated successfully, but these errors were encountered:
AFAICT for the other tags, even the related fenced code block the start tag starts at the end of the previous token, the content will then be covered by the following text nodes.
For indented code blocks, the leading indent is currently not part of the token's span.
I'd expect this to be correct:
The text was updated successfully, but these errors were encountered: