ddfreyne changed the topic of #nanoc to: 3.6.7 (dec 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
relix_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pavelkunc has joined #nanoc
number-six has joined #nanoc
jaspervdj has joined #nanoc
pavelkunc has quit [Quit: Leaving.]
pavelkunc has joined #nanoc
pavelkunc has quit [Quit: Leaving.]
louquillio has joined #nanoc
alerante has quit [Remote host closed the connection]
alerante has joined #nanoc
alerante has quit [Ping timeout: 272 seconds]
coderanger has joined #nanoc
alerante has joined #nanoc
alerante has quit [Ping timeout: 272 seconds]
relix has joined #nanoc
relix has quit [Max SendQ exceeded]
relix has joined #nanoc
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
relix has joined #nanoc
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pavelkunc has joined #nanoc
relix has joined #nanoc
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pavelkunc has quit [Quit: Leaving.]
relix has joined #nanoc
alerante has joined #nanoc
alerante has quit [Ping timeout: 246 seconds]
pavelkunc has joined #nanoc
pavelkunc has quit [Quit: Leaving.]
pavelkunc has joined #nanoc
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
relix has joined #nanoc
relix has quit [Max SendQ exceeded]
pavelkunc has quit [Quit: Leaving.]
alerante has joined #nanoc
alerante has quit [Ping timeout: 252 seconds]
<dkm> trying to think about the best way to accomplish something...
<dkm> I want to be using semantic HTML5 at the document level, currently markdown engines don't produce semantic html
<dkm> (and it's likely they never will, my understanding is that markdown was never indented to describe structure)
<dkm> I've also used org-mode for some content, and org-mode is definitely structured, but the ruby org-mode filters are incomplete
<dkm> and I am not aware of any that will produce semantic HTML
<dkm> fyi: by semeantic I mean and <article> containing several <sections>, possibly nested
<dkm> some options I'm thinking about:
<dkm> 1. split the document into several files, structure with filesystem, add nanoc pre-process rule that will generate a compound item with the structured children
<dkm> 2. write a "structured markdown" filter that would split a markdown file into chunks based on /^#+ \w+$/ and create a nanoc layout that assembles them with semenatic tags
<dkm> 3. modify the current org-mode filters to handle the above
louquillio__ has joined #nanoc
number-six has quit [*.net *.split]
louquillio has quit [*.net *.split]
bobthecow has quit [*.net *.split]
number-six has joined #nanoc
bobthecow has joined #nanoc
number-six has quit [Excess Flood]
number-six has joined #nanoc
number-six has quit [Read error: Connection timed out]
number-six has joined #nanoc
VitamineD has joined #nanoc
alerante has joined #nanoc
alerante has quit []
louquillio__ has quit [Remote host closed the connection]
<bobthecow> dkm: it depends. if they're large documents, i'd go with the first, just because that feels like more what markdown is intended for.
<bobthecow> it also means you can put metadata in each of the sub-items since they'll be processed independently.
<bobthecow> if they're not big documents, then i wouldn't break them up. i'd just make a filter to split markdown into sections.
<bobthecow> but i'd do it post-markdown-processing, and i wouldn't use a layout.
<bobthecow> i'd use nokogiri to walk the (partial) DOM tree from the HTML generated by markdown, and i'd rewrite it into sections.
tantalum has joined #nanoc
tantalum has quit [Quit: Leaving]
alerante has joined #nanoc
relix has joined #nanoc
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
relix has joined #nanoc
relix has quit [Max SendQ exceeded]
relix has joined #nanoc
relix has quit [Max SendQ exceeded]
relix has joined #nanoc
pavelkunc has joined #nanoc
pavelkunc has quit [Quit: Leaving.]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
relix has joined #nanoc
ics has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ics has joined #nanoc
ics has quit [Ping timeout: 240 seconds]
ics has joined #nanoc
ics has quit [Ping timeout: 264 seconds]
ics has joined #nanoc
ics has quit [Ping timeout: 260 seconds]
<dkm> bobthecow: thanks for the suggestions!
ics has joined #nanoc
alerante has quit [Ping timeout: 272 seconds]
alerante has joined #nanoc
alerante has quit [Changing host]
alerante has joined #nanoc
alerante has quit [Remote host closed the connection]