mjmlio / language-mjml Goto Github PK
View Code? Open in Web Editor NEWAtom Editor package providing syntax support for MJML
Home Page: https://atom.io/packages/language-mjml
License: Other
Atom Editor package providing syntax support for MJML
Home Page: https://atom.io/packages/language-mjml
License: Other
Every time I open a .mjml
file in Atom, I get this error:
Failed to load snippets from
'<USER_PATH>/.atom/packages/language-mjml/snippets/language-mjml.cson'
<USER_PATH>/.atom/packages/language-mjml/snippets/language-mjml.cson: Duplicate key 'Mjml Column'
Apparently referencing these lines in snippets/language-mjml.cson
:
'Mjml Column':
'prefix': 'col'
'body': """
<mj-column>\n\t$1\n</mj-column>
"""
'Mjml Column':
'prefix': 'column'
'body': """
<mj-column>\n\t$1\n</mj-column>
"""
@ngarnier @iRyusa @kmcb777 the last tag released in apm
does not include the last PR closed a few months ago.
In fact there are the two commits of the latest PR... it's possible to release version 2.2.0 in the apm
services so everyone can benefit from it?.
I also remember that once the tag is released it will be possible to start a new implementation in order to really close this enhancement (#4)
Some components like mj-image, mj-wrapper don't work.
It displays a parsing error.
https://mjml.io/documentation/#mj-include
It's an official element in MJML and renders fine (CLI doesn't give any errors) - However the linter in Atom flags this as a linting error.
Usage: <mj-include path="./partials/_header" />
I am not seeing syntax highlighting in Atom. I have tried multiple syntax themes and application themes, to no avail. White text throughout.
Suggestions?
Hi @iRyusa @ngarnier! you can check the PR I sent you 2 months ago again.
In my opinion it is a very important point to be able to support Atom Autocomplete+
in the future and therefore to be able to define the autocomplete of their attributes for each tag...something that no editor can currently provide for MJML (not even VSCode).
Thanks for your patience and I await an answer.
Hello all,
I think adding an autocompletion feature could be really cool. By autocompletion, I mean this atom package could suggest attributes for every components with or without default value.
We would code even faster our emails ! Amazing right ?
Is this feature on your roadmap ?
If no, who is willing to help me on this ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.