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

From: Chris Cosentino (ccosenti@cisco.com)
Date: Wed Jun 02 2004 - 07:37:34 PDT

  • Next message: G. Ken Holman: "Re: [xep-support] <PRE> tag like behavior?"

    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?


    Chris Cosentino                        
    Cisco Systems Inc.
    (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
    in the body of the message to majordomo@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

    This archive was generated by hypermail 2.1.5 : Wed Jun 02 2004 - 07:51:23 PDT