G
G
Gares Antonovich2017-06-02 06:10:38
HTML
Gares Antonovich, 2017-06-02 06:10:38

Beautify & Minify plugins for Sublime Text 3, which ones to use?

I use now 2 services
minifire , beauty .
For example, there is a part of the code in html

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>test</title>
</head>
<body>
  <div class="container">
    <div class="row">
      <div class="col-sm-12">
        <p class="p-text">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quidem quod autem velit eos quos repellat facere eaque culpa, blanditiis veniam earum. Repellendus, officia animi quisquam esse incidunt suscipit reprehenderit molestias!</p>
      </div>
    </div>
  </div>
</body>
</html>

I need to make a mini version of it, that is, everything in 1 line
Like this:
<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"><title>test</title></head><body><div class="container"><div class="row"><div class="col-sm-12"><p class="p-text">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quidem quod autem velit eos quos repellat facere eaque culpa, blanditiis veniam earum. Repellendus, officia animi quisquam esse incidunt suscipit reprehenderit molestias!</p></div></div></div></body></html>

And then let’s say for changes I need to return everything back, but with the help of the plugins that I tried to use in the sublime, I couldn’t make normal html from the line I
’m looking for a normal beauty and minifire

Answer the question

In order to leave comments, you need to log in

3 answer(s)
P
Pavel Andreichenko, 2017-06-09
@MB116

I use this one: https://packagecontrol.io/packages/Minify

A
Artur Karapetyan, 2017-06-10
@architawr

Use Gulp

M
manikbiradar, 2017-12-03
@manikbiradar

I'm UI Developer and having 8+ Experience in HTML, CSS, and jQuery, Etc... But I'm always struggling and keeping code in a good format. We found many tools to format but I especially like :
Its fast and easy way to format code

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question