2 ms·
But HTML is not normally counted on SLOC that is why for example a command like sloccount has the --addlang option. http://manpages.ubuntu.com/manpages/bionic
by belter 5y ago
But HTML is not normally counted on SLOC that is why for example a command like
sloccount has the --addlang option.
http://manpages.ubuntu.com/manpages/bionic/man1/compute_all.1.html http://manpages.ubuntu.com/manpages/bionic/man1/compute_all....
- prophesi 5y agoslocount's implementation certainly isn't the standard. It hasn't been updated in almost 2 decades and doesn't support counting LOC of any modern languages. I imagine HTML was ignored by default because it would be used for documentation instead of markdown back then. It's now very common to render UI with HTML & CSS, and I would certainly include any UI work as code.