These are chat archives for bem/talk

16th
Dec 2015
michnay
@michnay
Dec 16 2015 10:47
Hi Everyone, I'm pretty sure it's a very quick thing, but I just can't figure out how to auto-enable source codes on spec pages instead of using the on/off switch. I see it's possible, but really couldn't find how. Thanks !
Alexej Yaroshevich
@zxqfox
Dec 16 2015 13:24
What do you mean when you saying "auto-enable source codes on spec pages"?
michnay
@michnay
Dec 16 2015 14:57
Thanks for getting back to me. There's a "Show source code" switch under the "Table of contents" section in the gray box to the right. If I switch this on, the source code appears in the main content body for each section. What I'd like is to have this switch on by default, i.e. when someone opens the spec page, all source code is visible immediately, without switching anything on. Hope I managed to explain it a bit better. Thanks for any help!
Alexej Yaroshevich
@zxqfox
Dec 16 2015 15:17
Yeah, sounds good.
I'll file an issue about that.
michnay
@michnay
Dec 16 2015 15:45
Cheers!
I've seen specs that work just like that. I thought it was a framework setting, but by the looks of it, it's a bit more complicated.
Alexej Yaroshevich
@zxqfox
Dec 16 2015 17:09
Yep, it's based on the awesome opensource solution. But that framework is really a bit complicated. :-D
michnay
@michnay
Dec 16 2015 18:39
Oops, okay, thought I might ask :) Many thanks!