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 an option to set a CSS class to be applied for each link type #12

Merged
merged 1 commit into from
Sep 29, 2023

Conversation

miscoined
Copy link
Contributor

Thanks for making this addon! I thought I'd add some functionality that I've been wanting. This does two things:

  • Apply the linkified class to linkified links both in live preview and reading mode
  • Add a field for a custom CSS class to be applied for each link pattern, defaulting to nothing.

The main point of this pull request is the last one, but I thought it was nicer/more convenient to apply the same class in both modes so that custom snippets can target both with one selector.

Copy link
Owner

@matthewhchan matthewhchan left a comment

Choose a reason for hiding this comment

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

Thanks for the contribution.

@matthewhchan matthewhchan merged commit 3c9d53e into matthewhchan:main Sep 29, 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