GithubHelp home page GithubHelp logo

scriptex / itcss-emmet-snippets Goto Github PK

View Code? Open in Web Editor NEW
2.0 3.0 1.0 125 KB

Custom snippets for Emmet following the ITCSS pattern

Home Page: https://atanas.info/portfolio/open-source/itcss-emmet-snippets

License: MIT License

itcss-emmet-snippets's Introduction

Emmet ITCSS Logo

ITCSS Emmet Snippets Analytics

Custom snippets for Emmet following the ITCSS pattern

Prerequisite

Emmet is a set of plugins that allow for high-speed coding and editing in HTML, XML, XSL and other structured code formats (like CSS, SCSS, SASS, LESS, Stylus, etc).

For more information about Emmet, please visit the official website.

For more information about how Emmet works, please visit the official documentation.

Basically, most text editors out there allow you to store and re-use commonly used code chunks, called "snippets". While snippets are a good way to boost your productivity, all implementations have common pitfalls: you have to define the snippet first and you can’t extend them in runtime.

Emmet takes the snippets idea to a whole new level: you can type CSS-like expressions that can be dynamically parsed, and produce output depending on what you type in the abbreviation. Emmet is developed and optimised for web-developers whose workflow depends on HTML/XML and CSS, but can be used with programming languages too.

About

ITCSS Emmet snippets is a package which utilizes the power of ITCSS and Emmet and provides a customized, opinionated snippets.json file adapted to the ITCSS pattern and providing many useful snippets.

Installation

In order to use this package you must download it on your local machine, extract it and copy the snippets.json file to the preferred location.

You can also download only the snippets.json file alone.

After that in your preferred text editor, you should set the Emmet extensions path to point to the folder which contains our custom snippets.json file.

You can follow the official documentation and overwrite the default snippets, but I would recommend overwriting only the settings for Emmet in your editor.

For example, in VS Code, this is done by adding/editing the following setting:

"emmet.extensionsPath": "PATH_TO_YOUR_SNIPPETS_JSON_FOLDER"

In Sublime Text, you should define the extensions_path setting in Emmet.sublime-settings and make it point to your custom snippets folder.

LICENSE

MIT


Connect with me:

                     

Support and sponsor my work:

itcss-emmet-snippets's People

Contributors

scriptex avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

nikolovmartin

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.