Hi,
I just tried out the new version of markdown_to_help.rb. It works perfectly. Many thanks! (Also with images via echo "<base href='tm-file://${TM_BUNDLE_SUPPORT// /%20}/ help.markdown'>")
Now I have a tiny suggestion for an improvement: I added a href back to TOC to each jump address. That means if you click lets say at the TOC entry 3.1.7, it jumps to 3.1.7 BlaBla and if you click at 3.1.7 it will jump back to TOC. That would increase a bit the navigation behaviour for large help files for instance. I've chosen the id=sect_0 as address for TOC.
I attach the modified markdown_to_help.rb to this mail as an example. Maybe the only thing which should be written better is the style attribute 'text-decoration:none' (I added it because it looks better ?). Maybe place this style to the css?
Best,
Hans