[xep-support] <PRE> tag like behavior?

Chris Cosentino ccosenti at cisco.com
Wed Jun 2 07:37:34 PDT 2004


Is there an easy (relatively) way to use XEP to create <PRE>-like
formatted text?

We currently have an inline element called <examplecode>. When
rendered through XEP the data is output in monospace bold font.

If line breaks were required, we would wrap it in para tags.

The problem we have is that we want to render example code with proper
indentation. The simple solution (although time consuming for the
writer), is to create some kind of "tab" formatting tag, and have the
writer insert the proper number of tabs for indentation. During render
the tab tag would be rendered into X amount of space per tab.

Is there an easier way?

Thanks,
       Chris


-- 
Chris Cosentino                        
Cisco Systems Inc.

-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo at renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html



More information about the Xep-support mailing list