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

Skip Markdown Emails #9

Closed
HDVinnie opened this issue Nov 14, 2019 · 2 comments
Closed

Skip Markdown Emails #9

HDVinnie opened this issue Nov 14, 2019 · 2 comments
Assignees

Comments

@HDVinnie
Copy link

This package formats (indents) markdown email templates in /views/emails and thus breaks it. Per Laravel docs.

Do not use excess indentation when writing Markdown emails. Markdown parsers will render indented content as code blocks.

@shufo shufo self-assigned this Jul 28, 2020
@fieu
Copy link

fieu commented Sep 2, 2020

I have over 50 different email views. This was very annoying to correct.

@shufo
Copy link
Owner

shufo commented Jan 28, 2021

Recently released https://github.com/shufo/blade-formatter/releases/tag/v1.10.0 with ignore option.

To workaround this issue, create file .bladeignore like below

resources/views/email/*

will ignore formatting on target files.

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