Before I go mad and spend ages re-inventing the wheel, is there something in/for TM that I have missed that would allow me to take a selected code sample and save it in some way that it could be presented in another html page?
(ideally wrapped with some styling hooks for CSS so syntax could be highlighted.
e.g. converting <div> to <span class="tag_div"><div></span>
TIA