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

image_tag has no syntax highlighting #18

Closed
hlambeth opened this issue Feb 23, 2016 · 2 comments
Closed

image_tag has no syntax highlighting #18

hlambeth opened this issue Feb 23, 2016 · 2 comments

Comments

@hlambeth
Copy link

when using = image_tag it doesn't highlight blue like other rails helpers
screen shot 2016-02-22 at 11 27 43 pm

@tshedor
Copy link
Member

tshedor commented Oct 25, 2017

Hey @hlambeth Slim doesn't highlight Rails helpers. However, I've made a PR on the Rails repo to address this issue. I'm closing this out and would direct you to that PR for future updates.

@tshedor tshedor closed this as completed Oct 25, 2017
@spotontheresa
Copy link

spotontheresa commented Oct 24, 2018

Hi actually wanted to use this too. Any workaround? Looking for ways to add an image to my mailer template

Edit:

I tried this but I got an error that file_path is undefined
link rel ="icon" type = "image/png" href=file_path("images/logo-old.png")

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

3 participants