Skip to content

fix(language-service): transform markdown links in completion items#133

Merged
johnsoncodehk merged 1 commit intomasterfrom
resolve-completion-item-description-links
Feb 10, 2024
Merged

fix(language-service): transform markdown links in completion items#133
johnsoncodehk merged 1 commit intomasterfrom
resolve-completion-item-description-links

Conversation

@remcohaszing
Copy link
Member

This resolves completion item descriptions the same way as hover descriptions are resolved.

The transformDocumentLinkTarget and transformMarkdown functions were both moved into utils/transform, but their implementation remains the same.

The fix was verified to work in MDX analyzer.

Refs mdx-js/mdx-analyzer#394

This resolves completion item descriptions the same way as hover
descriptions are resolved.

The `transformDocumentLinkTarget` and `transformMarkdown` functions were
both moved into `utils/transform`, but their implementation remains the
same.

The fix was verified to work in MDX analyzer.

Refs mdx-js/mdx-analyzer#394
@johnsoncodehk
Copy link
Member

johnsoncodehk commented Feb 10, 2024

LGTM, thanks!

@johnsoncodehk johnsoncodehk merged commit e1246a5 into master Feb 10, 2024
@johnsoncodehk johnsoncodehk deleted the resolve-completion-item-description-links branch February 10, 2024 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants