-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: allow links in markdown hovers #263
feat: allow links in markdown hovers #263
Conversation
Reviewer's Guide by SourceryThis pull request enables the use of links in markdown hovers by setting the Class diagram showing updated LanguageClientOptions configurationclassDiagram
class LanguageClientOptions {
+markdown: MarkdownOptions
+diagnosticCollectionName: string
+documentSelector: DocumentSelector[]
}
class MarkdownOptions {
+isTrusted: boolean
}
LanguageClientOptions *-- MarkdownOptions
note for LanguageClientOptions "Updated to include markdown options"
note for MarkdownOptions "New configuration to enable trusted links"
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @Hellebore - I've reviewed your changes and found some issues that need to be addressed.
Blocking issues:
- [FILTERED by
comment_validation
]
Setting markdown.isTrusted to true could expose the system to security vulnerabilities. (link)
Overall Comments:
- Please document the security considerations of enabling trusted markdown. Confirm that markdown content from the language server is properly sanitized to prevent XSS risks.
Here's what I looked at during the review
- 🟢 Functionality: all looks good
- 🟢 General issues: all looks good
- 🔴 Security: 1 blocking issue
- 🟢 Review instructions: all looks good
- 🟢 Testing: all looks good
- 🟢 Complexity: all looks good
- 🟢 Documentation: all looks good
Checklist
package.json
oryarn.lock
have changed, then test the VSIX built byyarn run vsce package
works from a direct installSummary by Sourcery
New Features: