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

Feature request: Add support for ALT and TITLE Tags #5

Open
pizzageek-zz opened this issue Mar 15, 2016 · 1 comment
Open

Feature request: Add support for ALT and TITLE Tags #5

pizzageek-zz opened this issue Mar 15, 2016 · 1 comment

Comments

@pizzageek-zz
Copy link

I'd like to be able to override the default ALT and TITLE tags. Currently, the default is :smiley_name: for both. ⏬

I'm not sure of the best syntax to use. Maybe something like
:smiley_name|alt_text|title_text:

My use case is that I'd like something other than :arrow_double_down: to display when hovering over my download icons.
[:arrow_double_down|Download|Download:](http://somesite.com/download.html)

@Sommerregen
Copy link
Owner

Hi @pizzageek currently the alt and title tags are hardcoded in the plugin (https://github.com/Sommerregen/grav-plugin-smileys/blob/master/classes/Smileys.php#L213-L217). But I'm working on a version, which let's fully customize the output. I only need some time to finish it...

However for the moment I recommend you to change the above lines to your needs.

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

No branches or pull requests

2 participants