Skip to content

Public API #5

@ghost

Description

It would be really awesome if you could do something like this:

css_path = "/path/to/stylesheet.css"
html_path = "/path/to/page.html"

# return html document with styles inline
MailStyle.inline_styles(html_path, css_path)

This would allow MailStyle to work outside of Rails/ActionMailer.

Thoughts?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions