Topdoc/topdoc

CSS not showing in 'Code Snippets'

Closed this issue · 3 comments

I've got a local version of topdoc working, all nicely integrated into my grunt workflow. It's all great, but I'm not seeing CSS in the 'Code Snippets' panel, just the HTML.

topdoc example

I can see you're using the topdoc-theme node package, which is what I'm using. I can't see any other settings in the gruntfile that might influence this.

Can anyone help - what am I missing?

Just found it, at the bottom of index.jade:

//- div
//-     h3 CSS
//-     pre.css
//-         code(data-language="css")=component.css

Uncommenting these 'reveals' the CSS code snippet. It's showing line numbers, but I'm sure I'll figure out how to hide those now I've got this far.

Yes! We took them out for topcoat because it wouldn't contain all the code needed.—
Sent from Mailbox

On Thu, Sep 25, 2014 at 9:59 AM, Matt Bailey notifications@github.com
wrote:

Closed #33.

Reply to this email directly or view it on GitHub:
#33 (comment)

Good point - my CSS structure is also such that much of the 'core' css is not part of each component's css.