Closed tomurb closed 7 years ago
@wolnyludz look great! good job 👏
can i mention about u in the readme?
Sure. Thanks.
Just in case if there were more snippets in the future to convert.
//With terminal opened in the snippets folder and old atom snippets already deleted.
sed -i "s/<\/snippet>/<scope>text.html<\/scope><\/snippet>/g" *
find ./ -type f -exec atomizr "*" -t atom -o ~/.atom/packages/atom-bootstrap4/snippets/a.cson {} \;
Oh wait. I forgot to put these converted files into snippets directory after deleting everything inside. It should be
-atom-screenshot
-settings
-snippets
|-a.cson
|-accordion.cson
|-...
I've converted Sublime Text snippets[1] with linux sed command and atomizr[2]. The directories structure have changed a lot but it seems to work.
[1] https://github.com/degouville/sublime-bootstrap4 [2] https://github.com/idleberg/node-atomizr