Skip to main content
Projectitis
Inspiring
Oct 29, 2010 8:09 PM UTC
Answered

please please PLEASE implement an 'insert code' feature!

Please please PLEASE implement an 'insert code' feature!

I see:

  • Insert video
  • Insert image
  • Quote

But no 'Insert code'?

The Flash/ActionScript forums are awash with untidy code snippets

I suggest (css) a blockquote with fixed-width font.

    This topic is closed to new replies. Start a new post to keep the conversation going.
    pwillener
    pwillenerCorrect answer
    Legend
    Oct 30, 2010 2:44 AM UTC

    Use the >> button; it contains

    • SQL
    • XML
    • Java
    • Plain code
    • HTML

    P.S. see http://forums.adobe.com/thread/745403 for some example - I'm afraid HTML doesn't work out as I explected it (it is actually interpreting the HTML code).

    6 replies

    Inspiring
    Oct 29, 2010 9:03 PM UTC

    Pea wrote on 10/29/2010 1:09 PM:

    The Flash/ActionScript forums are awash with untidy code snippets

    I suggest (css) a blockquote with fixed-width font.

    The use of semantically incorrect tags which get 'fixed' to look 'nice'

    on some user agents is what got us in this whole crappy layout mess.

    Obviously the proper tag for code snippets is the <code> tag:

    http://www.w3.org/TR/1999/REC-html401-19991224/struct/text.html#edef-CODE

    Translate
    Projectitis
    Inspiring
    Oct 30, 2010 12:25 AM UTC

    Well, I don't really mind how it is done, just as long as it is supported

    Looks like the editor supports the code element, but we have to go in to HTML mode to do it!

    // Code comment

    Translate
    pwillener
    pwillenerCorrect answer
    Legend
    Oct 30, 2010 2:44 AM UTC

    Use the >> button; it contains

    • SQL
    • XML
    • Java
    • Plain code
    • HTML

    P.S. see http://forums.adobe.com/thread/745403 for some example - I'm afraid HTML doesn't work out as I explected it (it is actually interpreting the HTML code).

    Translate