thepian/thepian-pages — Issue #5: Part Inclusion by id for Outline Elements
Author: thepian
Created: 2011-10-20 16:33:13+00:00
State: open

Outline elements such as `article`, `aside`, `section`,`nav` can be maintained in separate part files. Refer to the part using the id attribute to include it along with a content element wrapped around it.

HTML5 allows any character except space to be used as an id. Use this to organise parts in sub-directories.

CSS selectors support escaping symbols so,

#intro\/overview { margin-left:2px; }

Can be used to style a section included using `

` from `_parts/intro/overview.section.markdown`.

The SCSS parsing should be enhanced to escape id selectors.
Ideally CMS tools should help creating an automatic structure for styling the parts.

http://mathiasbynens.be/notes/html5-id-class