www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Omitting optional tags

reply Andrei Alexandrescu <SeeWebsiteForEmail erdani.org> writes:
Cool! We should do this for our own docs: 
https://google.github.io/styleguide/htmlcssguide.xml?showone=Optional_Tags#Optional_Tags

Andrei
Sep 17 2016
next sibling parent Jack Stouffer <jack jackstouffer.com> writes:
On Saturday, 17 September 2016 at 18:17:56 UTC, Andrei 
Alexandrescu wrote:
 Cool! We should do this for our own docs: 
 https://google.github.io/styleguide/htmlcssguide.xml?showone=Optional_Tags#Optional_Tags

 Andrei
I wouldn't recommend it. We have no idea how many screen readers and HTML parsers will be broken by doing this.
Sep 17 2016
prev sibling next sibling parent ag0aep6g <anonymous example.com> writes:
On 09/17/2016 08:17 PM, Andrei Alexandrescu wrote:
 Cool! We should do this for our own docs:
 https://google.github.io/styleguide/htmlcssguide.xml?showone=Optional_Tags#Optional_Tags
I'd rather go full XML. Post-processing is easier with XML, especially with dogfooding in mind. We're soon going to have a more capable std.xml2, but a std.html is not being pursued, as far as I know.
Sep 17 2016
prev sibling parent Kagamin <spam here.lot> writes:
Well, a lot can be done to optimize generated html, e.g. it has a 
lot of spaces and questionable markup like <a 
href='object.html'><span><em class="tt">object</em></span></a>
Sep 19 2016