Skip to content
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

Add linkify plugin to markwon #487

Merged
merged 2 commits into from
Jun 10, 2023
Merged

Conversation

twizmwazin
Copy link
Contributor

This adds the linkify plugin to markwon. This will allow links to be automatically detected and made clickable, even if that link isn't formatted as a markdown link. I also added a second plugin to configure links rendered by markwon to be opened using our openLink function, intended for future use like custom tabs, special handling of detected fediverse links, etc.

@twizmwazin twizmwazin requested a review from dessalines as a code owner June 10, 2023 00:08
Copy link
Member

@dessalines dessalines left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, thanks! I noticed that URLs weren't getting linkified by markwon.

@dessalines dessalines merged commit 1687634 into LemmyNet:main Jun 10, 2023
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