This repository was archived by the owner on Mar 18, 2026. It is now read-only.
Merged
Conversation
- Wrap PDF document in a scrollable container with styled scrollbars - Enable horizontal scrolling via Shift + mouse wheel - Adjust scroll position on zoom to keep view aligned top-left - Remove unused pdfData state for cleaner code - Update styles to hide overflow on content and remove padding when PDF scroll container is present - Set transform origin of PDF canvas to top-left for proper zoom behavior
- Adjust zoom in and zoom out handlers to maintain the visible center point by recalculating scroll positions after scaling. - Reset zoom to 100% also resets scroll position to top-left to center the view. - Remove previous scroll adjustment effect on scale change for a more consistent zoom experience.
Added extensive console logging in processInlineMarkdownWithCitations to trace the parsing flow and internal states of citation detection and processing. This will help diagnose issues with citation formatting and parsing failures by providing context, content previews, and parsing results at key steps.
- Add placeholders to temporarily protect citation patterns during markdown processing to prevent incorrect parsing or transformation. - Restore original citation texts after processing inline markdown elements. - Enhance cleanup logic after citations to remove trailing JSON fragments, special characters, and whitespace that may cause parsing issues. - Add detailed debug logs to trace citation protection and cleanup steps.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.