Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.md 1.2KB

123456789101112131415161718192021222324252627282930313233
  1. # PostCSS Safe Parser [![Build Status][ci-img]][ci]
  2. <img align="right" width="95" height="95"
  3. title="Philosopher’s stone, logo of PostCSS"
  4. src="http://postcss.github.io/postcss/logo.svg">
  5. A fault-tolerant CSS parser for [PostCSS], which will find & fix syntax errors,
  6. capable of parsing any input. It is useful for:
  7. * Parse legacy code with many hacks. For example, it can parse all examples
  8. from [Browserhacks].
  9. * Works with demo tools with live input like [Autoprefixer demo].
  10. [Autoprefixer demo]: http://simevidas.jsbin.com/gufoko/quiet
  11. [Browserhacks]: http://browserhacks.com/
  12. [PostCSS]: https://github.com/postcss/postcss
  13. [ci-img]: https://img.shields.io/travis/postcss/postcss-safe-parser.svg
  14. [ci]: https://travis-ci.org/postcss/postcss-safe-parser
  15. <a href="https://evilmartians.com/?utm_source=postcss">
  16. <img src="https://evilmartians.com/badges/sponsored-by-evil-martians.svg" alt="Sponsored by Evil Martians" width="236" height="54">
  17. </a>
  18. ## Usage
  19. ```js
  20. var safe = require('postcss-safe-parser');
  21. var badCss = 'a {';
  22. postcss(plugins).process(badCss, { parser: safe }).then(function (result) {
  23. result.css //= 'a {}'
  24. });
  25. ```