ddfreyne changed the topic of #nanoc to: 3.6.5 (sep 29th) | 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
ddfreyne_ has quit [Read error: Connection reset by peer]
ddfreyne_ has joined #nanoc
jugglinmike has quit [*.net *.split]
guardian has quit [*.net *.split]
guardian has joined #nanoc
jugglinmike has joined #nanoc
bghost has joined #nanoc
bghost has quit [Changing host]
bghost has joined #nanoc
bghost_ has joined #nanoc
bghost has quit [Ping timeout: 252 seconds]
jugglinmike has quit [Quit: Leaving.]
bghost_ has quit [Quit: leaving]
jarr0dsz has joined #nanoc
VitamineD has joined #nanoc
pavelkunc has joined #nanoc
pavelkunc has quit [Quit: Leaving.]
VitamineD has quit [Quit: VitamineD]
VitamineD has joined #nanoc
pavelkunc has joined #nanoc
jarr0dsz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jugglinmike has joined #nanoc
jarr0dsz has joined #nanoc
<tom[]> i've been reading about combining and compressing js and css in nanoc. various people have their approach online. would anyone here like to express a preference?
jarr0dsz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tantalum has joined #nanoc
jarr0dsz has joined #nanoc
jarr0dsz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
smkelly has quit [Excess Flood]
smkelly has joined #nanoc
bghost has joined #nanoc
bghost_ has joined #nanoc
bghost_ has quit [Changing host]
bghost_ has joined #nanoc
bghost_ has quit [Client Quit]
bghost has quit [Ping timeout: 245 seconds]
bghost has joined #nanoc
jarr0dsz has joined #nanoc
bghost has quit [Ping timeout: 268 seconds]
VitamineD has quit [Ping timeout: 260 seconds]
pavelkunc has quit [Quit: Leaving.]
bghost has joined #nanoc
<ddfreyne> tom[]: yuicompressor is good, but I alos use rainpress for css
<tom[]> i was just about to write an update
<tom[]> the compressors filters are easy enough to use. it was the combining + compressing i was having trouble wit
<tom[]> h
<tom[]> after reading various things i came up with my own approach that seems nice and simple to me
<tom[]> i wrote a master js fine and a mater css file and run them through erb with things like this in them:
<tom[]> <%= @items['/assets/sass/styles/'].compiled_content() %>
<tom[]> and then nil routed the sources
<ddfreyne> tom[]: combining is a bit harder. You need to create a "combined" css file in the preprocess block that reads the content from all sub-CSS files and then make sure the sub-CSS files are not routed (not written to output)
ics has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
_whitelogger has joined #nanoc
jarr0dsz has quit [Remote host closed the connection]
jarr0dsz has joined #nanoc
bghost has quit [Quit: leaving]
jarr0dsz has quit [Quit: Textual IRC Client: www.textualapp.com]
<tom[]> filter :redcarpet, :options => {:fenced_code => true}
<tom[]> converts md to html but doesn't convert the fenced code blocks
<tom[]> what might i be doing wrong. the instaled redcarpet version is .rvm/gems/ruby-1.9.3-p448/gems/redcarpet-3.0.0
jarr0dsz has joined #nanoc
tantalum has left #nanoc [#nanoc]
<ddfreyne> tom[]: It needs to be fenced_code_blocks
<ddfreyne> not fenced_code
<tom[]> still no joy
<tom[]> the line is filter :redcarpet, :options => {:fenced_code_blocks => true}
<tom[]> the result is an inline code element like with `simple backticks`
<ddfreyne> tom[]: what does your source look like?
<ddfreyne> like, the page source?
<tom[]> that's one example. i've tried tildas
<tom[]> and a space between ``` and html
<ddfreyne> tom[]: Does it work when invoking RedCarpet directly, in irb, bypassing nanoc?
<ddfreyne> tom[]: too tired to properly help atm I'm afraid :(
<tom[]> i'll try later
<tom[]> thanks
<ddfreyne> the nanoc redcarpet filter is fairly straightforward and just passes options on
<ddfreyne> a bit ugly becaue it supports both 1.x and 2.x
<ddfreyne> tom[]: try with :renderer_options instead of :options
<ddfreyne> AFK, sleep!
<tom[]> :(
<tom[]> with filter :redcarpet, :renderer_options => {:fenced_code_blocks => true} the fenced code block is rendered as plain paragraph text
jarr0dsz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]