Code Monkey home page Code Monkey logo

css-html-prettify's People

Contributors

juancarlospaco avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

css-html-prettify's Issues

Make name underscored

Otherwise i get:

  File "C:/Users/blusc/AppData/Roaming/TS3Client/plugins/pyTSon/include\pluginhost.py", line 318, in reload
    cls.modules[base] = importlib.__import__(base)
  File "<frozen importlib._bootstrap>", line 1055, in __import__
  File "<frozen importlib._bootstrap>", line 986, in _gcd_import
  File "<frozen importlib._bootstrap>", line 969, in _find_and_load
  File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 673, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 661, in exec_module
  File "<frozen importlib._bootstrap_external>", line 767, in get_code
  File "<frozen importlib._bootstrap_external>", line 727, in source_to_code
  File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed
  File "C:/Users/blusc/AppData/Roaming/TS3Client/plugins/pyTSon/scripts\devTools\__init__.py", line 325
    from css-html-prettify import css_prettify
            ^
SyntaxError: invalid syntax

Semi-colon and sorting issue

Sorting issue referencing: css-html-js-minify #16 - sorting randomizing issue is still present with this standalone package.

However using this gives extra semi-colons.

WITHOUT ARGUMENTS

a :hover {
        cursor:pointer;
;
}

WITH --GROUP ARGUMENT

a :hover {
;

        cursor:pointer;
}

Breaks Media Queries Closing Indentation

@media (min-width:0) and (max-width:985px) {

    #example_selector {
        margin:0;
    }

}

Becomes:

@media (min-width:0) and (max-width:985px) {

    #example_selector {
        margin: 0;
}

}

Notice the } lost its indentation.

Windows = BeautifulSoup4 Not Found!

BeautifulSoup4 Not Found!, use:  sudo apt-get install python3-bs4
Traceback (most recent call last):
  File "css-html-prettify.py", line 354, in <module>
    orig_prettify = BeautifulSoup.prettify
NameError: name 'BeautifulSoup' is not defined

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.