straker/livingcss

clarifcation please

Closed this issue · 1 comments

I'm getting section X is not defined errors that I don't completely understand. (Less errors now that the fields are trim, thank you!)

fails

/** Typography
 * desc
 * @section
 */

 /** Text
 * desc
 * @section
 * @sectionof Typography
 */

works

/** Typography
 * desc
 * @section Typography
 */

 /** Text
 * desc
 * @section
 * @sectionof Typography
 */

Why do we have to repeat the section name for it to be available for children?

It seems the comment parser treats the first example as having a whitespace before the name. So it's parsed as | Typography| instead of |Typography|