Hi Group,
I am working with the MJML email templating language/API. [
https://mjml.io]
It is a subset/variant of HTML & CSS, which aims to "guarantee" the code is valid for' all' email clients (with tweets of course).
I have build a series of regex/AppleScript/Shell with BBEDIT which interprets a "rough" output in MJML from a Design Sytem, as a POC.
I am trying to make BBEdit recognize MJML.mjml files as HTML (~ subset) and myCSS.css.mjml as CSS file (+additions). (Readability of code, indentation, coloring, etc…).
Can I do this in the Prefs > Languages > Pane?
- Where can I add (or contribute) specific markup —meaning different than HTML/CSS which should be recognized or ignored (if error)—.
- Is there a file to edit?
If not, is there a way to add a module (like VSCode has, which also generates a Preview via their API)?
Using the mjml API?
Thanks a lot for your input