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

Feat(hashtags) add #hashtag highlighting #478

Merged
merged 1 commit into from
Aug 3, 2024

Conversation

steven-fox
Copy link
Collaborator

Related to #371

This PR simply adds hashtag (#hashtag) highlighting in posts.

A hashtag is identified by a # followed by a [a-z0-9_] case-insensitive.
Hashtags that are found in <a> elements will not be altered (this is the same logic as our mentions parsing). Thus, something like <a href="/route#segment>link</a>" will not be altered.

This is step 1 in adding full hashtag support.

@nunomaduro nunomaduro merged commit 9e71cf5 into main Aug 3, 2024
@nunomaduro nunomaduro deleted the feat/hashtag-provider-parsable branch August 3, 2024 20:34
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