ddfreyne changed the topic of #nanoc to: 3.6.11 (may 9th) | web http://nanoc.ws/ | repo http://bit.ly/XE6e3G | issues http://bit.ly/VfXaSV | forum http://ho.io/n-discuss | irclog http://irclog.whitequark.org/nanoc
jugglinmike has quit [Quit: Leaving.]
VitamineD has quit [Quit: Computer has gone to sleep.]
alerante has quit [Remote host closed the connection]
alerante has joined #nanoc
alerante has quit [Ping timeout: 240 seconds]
VitamineD has joined #nanoc
VitamineD has quit [Quit: Computer has gone to sleep.]
VitamineD has joined #nanoc
john3213 has joined #nanoc
john3213 has left #nanoc [#nanoc]
DarkOrb has joined #nanoc
alerante has joined #nanoc
prxq has joined #nanoc
VitamineD has quit [Read error: Connection reset by peer]
VitamineD has joined #nanoc
ldk has quit [*.net *.split]
Keltia has quit [*.net *.split]
Keltia has joined #nanoc
ldk has joined #nanoc
jugglinmike has joined #nanoc
FunkyPenguin has joined #nanoc
VitamineD has quit [Ping timeout: 252 seconds]
alerante has quit [Remote host closed the connection]
VitamineD has joined #nanoc
VitamineD has quit [Client Quit]
alerante has joined #nanoc
irsol has quit [Ping timeout: 265 seconds]
alerante has quit [Ping timeout: 240 seconds]
irsol has joined #nanoc
alerante has joined #nanoc
alerante has quit [Changing host]
alerante has joined #nanoc
alerante has quit [Remote host closed the connection]
alerante has joined #nanoc
prxq has quit [Remote host closed the connection]
VitamineD has joined #nanoc
alerante has quit [Remote host closed the connection]
alerante has joined #nanoc
alerante has quit [Remote host closed the connection]
alerante has joined #nanoc
alerante has quit [Remote host closed the connection]
alerante has joined #nanoc
<guardian> with kramdown one can write tables, but e.g. currently I'm using Twitter Bootstrap which expects clases added to <table>, see http://getbootstrap.com/css/#tables
<guardian> I know I can add {:style="table table-stripped"} but that creates coupling between the item and the CSS framework
<guardian> I would like to add a level of indirection so that in markdown I speficy the semantic of the table ("stripped") and still decouple that from the exact css class that's going to be outputed
<guardian> how would you do so?
<ddfreyne> guardian: This is what I do: https://gist.github.com/ddfreyne/3ed52d5e1437a8e64162
<ddfreyne> It probably doesn't really solve your problem fully though
<ddfreyne> I haven't been able to get a good solution yet
<guardian> from which is this? I don't recall you having a site based on bootstrap
<ddfreyne> Not a public one
<guardian> ddfreyne: I think using {:style="bordered"} would work. That effectively just adds style="bordered" which kinda corresponds to a "semantic marker" (sorry for making up expressions to try to convey my ideas)
<guardian> ddfreyne: then, with sass I'll use @extend so that table.bordered extends everything that needs to turn it into a bootstrap's bordered table
<ddfreyne> guardian: Seems like agood idea!
<ddfreyne> I wanted to do something like that as well, in fact
<guardian> I tried that idea on .primary-nav --> made it @extend .navbar .navbar-default .navbar-fixed-top
<guardian> seemed to work
<guardian> but since I didn't have the time to triple check the generated css, I reverted to adding lots of classes to my haml
<guardian> but that's definitely an idea I want to push forward
<guardian> also, changing classes in layouts/default.haml isn't such a big deal
<guardian> but for items with table, I don't want items to contains CSS framework specific classes
<guardian> not to mention people who's going to be my users definitely don't care about bootstrap being used in the implementation <-- and that's a good thing
<guardian> sorry for the engrish
<ddfreyne> Hehe :)
<ddfreyne> I don't really know how to fix that properly :(
<ddfreyne> I was thinking of getting rid of bootstrap.
<guardian> well the problem is the same with every CSS framework
<guardian> you're obliged to use the CSS classes they require
<guardian> but really {:style="bordered"} will do it
dkm has quit [*.net *.split]
mikey_p has quit [*.net *.split]
smkelly has quit [*.net *.split]
terinjokes has quit [*.net *.split]
mikey_p has joined #nanoc
dkm has joined #nanoc
smkelly has joined #nanoc
terinjokes has joined #nanoc