You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 13, 2023. It is now read-only.
Marko is an HTML-based templating language that extends the HTML grammar and we have an Atom package to support the Marko templating language: https://atom.io/packages/language-marko
I would like to be able to provide automatic support for Emmet when using Marko (Marko just extends HTML), but currently that does not seem to be possible. Specifically, I would like to be able to enable the following:
Automatically enable Tab key completion for additional grammars
To overcome this problems I had to manually update my local ~/emmet/snippets.json file to include additional Marko snippets. In addition, I had to manually update my keymap.cson to include the following:
About keyboard shortcuts: you can add 'tab': 'emmet:expand-abbreviation-with-tab' shortcut into your packages’ keymap file. But I don’t know how Atom will behave if there’s no Emmet plugin installed
Thanks, @sergeche, for the pointers. So it looks like a good solution would be to update emmet-atom to export a reference to the internal emmet module. I could then update the language-marko package to get a reference to the instance of the emmet-atom package to register the additional Emmet snippets.
As for keyboard shortcuts, I will try out adding 'tab': 'emmet:expand-abbreviation-with-tab' and see how that goes.
Sound like a good plan? If so, I'll plan on sending a PR to export the emmet module.
Marko is an HTML-based templating language that extends the HTML grammar and we have an Atom package to support the Marko templating language: https://atom.io/packages/language-marko
I would like to be able to provide automatic support for Emmet when using Marko (Marko just extends HTML), but currently that does not seem to be possible. Specifically, I would like to be able to enable the following:
To overcome this problems I had to manually update my local
~/emmet/snippets.json
file to include additional Marko snippets. In addition, I had to manually update mykeymap.cson
to include the following:Having to ask every developer to do these steps is problematic and unreliable. Is there a better solution?
Thanks in advance.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: