question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. ItĀ collects links to all the places you might be looking at while hunting down a tough bug.

And, if youā€™re still stuck at the end, weā€™re happy to hop on a call to see how we can help out.

Support for .html.eex files?

See original GitHub issue

.html.eex is the HTML template for Elixir. Itā€™s mostly HTML but with some custom syntax for templating. Currently I can try to format such files as HTML manually, but that sometimes results in syntax errors. Would it be possible for Prettier to also support some HTML templating languages?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:8
  • Comments:15 (6 by maintainers)

github_iconTop GitHub Comments

12reactions
dev-cypriumcommented, Mar 23, 2020

I quite enjoy prettier, and I would love to have it supported for .html.eex files. Agreed with the discussion upwards, .eex the syntax is simple and I think itā€™s a good suggestion to just skip it, and just format the HTML.

Please, support this templating language.

2reactions
joshchernoffcommented, Mar 17, 2020

šŸ™please, Iā€™d help but not sure where to start.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Support for .html.eex and .html.leex files Ā· Issue #83
I have stumbled across a couple of solutions that might help you in supporting HTML smarts in non-html files or files that infuse...
Read more >
Visual studio code html.eex support - Questions / Help
Visual studio code html.eex support ... Hi,. What plugins and settings are you guys using for making life easier coding templates? Specifically iĀ ......
Read more >
EEx v1.12.3
EEx (EEx v1.12.3) View Source. EEx stands for Embedded Elixir. It allows you to embed Elixir code inside a string in a robust...
Read more >
How EEx Turns Your Template Into HTML | Mitchell Hanberg
Technically EEx is just a templating syntax that can handle any plaintext format. It doesn't matter if its HTML, JavaScript, or even ElixirĀ ......
Read more >
Embedded Elixir (EEx)
The EEx API supports working with strings and files directly. The API is divided into three main components: simple evaluation, function definitions,Ā ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found