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

Add mj-include support and eliminate tempfiles #100

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

drush
Copy link

@drush drush commented Jan 20, 2023

This PR has two significant improvements:

  1. <mj-include /> is now supported. This allows it to be used in VS Code with full preview support and during runtime.
  2. Eliminated the need to write input and output tempfiles in favor of stdin/stdout to the mjml command.

Eliminate temp files for in/out - use stdin/stdout instead
@sighmon
Copy link
Owner

sighmon commented Jan 20, 2023

@drush Sorry about the GitHub Action failures - should be fixed on master now if you'd like to merge back into this branch.

@sighmon sighmon self-requested a review January 20, 2023 07:37
@sighmon
Copy link
Owner

sighmon commented Mar 27, 2023

@drush Are you still planning on fixing the failing tests? https://github.com/sighmon/mjml-rails/actions/runs/4001787672/jobs/6869100076?pr=100

@johnhuang121
Copy link

Would very much like this PR included!

@sighmon
Copy link
Owner

sighmon commented Jun 29, 2023

@johnhuang121 Would you like to take this PR over fixing the tests and adding it as optional via a configuration variable?

@johnhuang121
Copy link

I can take a look at this, but not sure if I can take this over yet.

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.

3 participants