Expand description
Context-aware paste handling for markdown.
This module handles pasted content with minimal transformation:
- Normalizes line endings (CRLF → LF)
- Normalizes curly quotes to straight quotes
- Preserves content literally in code blocks
- Adds blockquote prefixes to continuation lines when in a blockquote
Structs§
- Paste
Context - Context about the cursor position for paste operations.
Functions§
- transform_
paste - Transform pasted content based on context.