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

Inlining a string #66

Closed
johngeorgewright opened this issue Oct 19, 2015 · 3 comments
Closed

Inlining a string #66

johngeorgewright opened this issue Oct 19, 2015 · 3 comments

Comments

@johngeorgewright
Copy link

Hey there,

Is there a way to use inliner without requesting a URL, but instead just passing giving it a string of HTML?

Ta.

@remy
Copy link
Owner

remy commented Oct 19, 2015

Hmm. I don't think there is. It could do with a feature that reads from stdin so you can echo "<html>...." | inliner.

You can point inliner to a file though (as a workaround for now).

@FelixAkk
Copy link
Contributor

I'd love to see this ability too :) so I made a start at supporting it in the above mentioned pull request.

remy added a commit that referenced this issue Nov 15, 2015
Supports both HTML being passed as the first argument to the inliner function (through various detection), but also on the CLI supports HTML being piped, via `cat foo | inliner`.

Fixes #66
Closes #73
@remy remy closed this as completed in #74 Nov 15, 2015
remy added a commit that referenced this issue Nov 26, 2015
Supports both HTML being passed as the first argument to the inliner function (through various detection), but also on the CLI supports HTML being piped, via `cat foo | inliner`.

Fixes #66
Closes #73
@remy
Copy link
Owner

remy commented Nov 26, 2015

Live in latest release

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