My team's authoring requirements:
- must be able to copy code from Notepad or other text editor into Flare's default editor (XML Editor) and retain code spacing
My print requirements (PDF and Word):
- preserve code spacing (like the <pre> tag does)
- BUT wrap code to avoid going past page margin; must not introduce hyphens or extra spacing when doing so
My web requirements (WebHelp and CHM):
- preserve code spacing
- either wrap code or present in a box with scroll bars (<overflow> property governs scroll bars)
What I'm looking at now (see my other post at http://forums.madcapsoftware.com/viewto ... &sk=t&sd=a):
- pre.code
- div.code
I feel like I'm reinventing the wheel. Surely some Flare user on this forum has single-sourced code snippets to print and web! Thanks for any ideas and suggestions you can provide.