Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Indentation and Beautification #106

Closed
perroud opened this issue Oct 26, 2015 · 3 comments
Closed

Indentation and Beautification #106

perroud opened this issue Oct 26, 2015 · 3 comments
Assignees

Comments

@perroud
Copy link

perroud commented Oct 26, 2015

Hello guys,
It can be perfectionism, but... why not a perfect re-indent html(5) output from One Pager? This idea reminds the old and nice wp-beautifier plugin, forgotten nowadays - unfortunately, doesn't work into newer versions of Wordpress. Scarcely, any wordpress plugin and/or theme can show a flawless output code. A good idea to have a built-in OnePager feature or fix the wp-beautifier as a fork, perhaps.

@nadimtuhin
Copy link
Collaborator

@perroud now a days we focus on minimizing html output by compressing. Can you please show us some grounds on why beautifying on production is helpful?

@nadimtuhin nadimtuhin self-assigned this Oct 26, 2015
@perroud
Copy link
Author

perroud commented Oct 26, 2015

Dear @nadimtuhin,
Well... by compressing is offered by webserver +~ http protocol version. Is not a feature from other one.
First, gzip compressing. Second, js/css compress method, like Closure Compiler. Third, image compress for jpg/jpeg/png with any ways (few into WP, in fact). Indentation and/or beautification of html code is really good.

Re-indent and beautify, why? We have many ways to posh, usability, acessibility 508/WAI and, of course, HTML5 give us a semantic html, oppositing a presentational structure available with HTML4.

@nadimtuhin
Copy link
Collaborator

@perroud got the idea. POSH looks like a great idea. Currently we are trying to maximize onepager usability with constant effort. We believe POSH will not make enough impact on usability. Maybe in future :) btw thanks for the idea.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants