Giter Site home page Giter Site logo

bem_validator's Introduction

BEM (Block Element Modifier) Validation Service.

View a live demo of the BEM validator here

This is a fork of @iamdustan’s iamdustan’s AST explorer

which is forked from

This is a fork of @fkling’s Esprima AST Explorer

Paste CSS code into the editor and inspect the generated AST.

The CSS AST explorer uses rework/css to parse the code.

Features

  • Validate BEM CSS
  • Save and fork code snippets. Copy the URL to share them.
  • Copying an AST or dropping a file containing an AST into the window will parse the AST and update the code using css.
  • Otherwise, the content of texteditor will be replaced with the content of the file (i.e. you can drag and drop CSS files).
  • shift+click on a node expands the full subtree.
  • Hovering over a node highlights the corresponding text in the source code: source highlight

Contributions

This project is a fork of https://github.com/fkling/esprima_ast_explorer. There are a few integration bugs due to using a different AST generator which haven’t been handled yet. Most feature requests or other issues should likely be filed on the esprima_ast_explorer issue tracker: https://github.com/fkling/esprima_ast_explorer/issues.

Build your own version

Install all dependencies with npm install.

Run npm run watch for incremental builds (while hacking the code), and npm run build for the final minimized version.

Run npm start to start a simple static webserver.

bem_validator's People

Contributors

fkling avatar iamdustan avatar torleif avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

wisemarginal

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.