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

Preserve existing class attribute values #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tristan00b
Copy link

Hi, this change appends to the class attribute rather than replacing it.

For my use case, I have different styling applied to my external links depending on the context in which they are used. I want jekyll-extlinks to add the class name extlink to the class attribute without overwriting any class names that are already in place.

Thanks for the indispensable plugin!

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.

1 participant