Skip to main content
Projectitis
Inspiring
October 29, 2010
Answered

please please PLEASE implement an 'insert code' feature!

  • October 29, 2010
  • 1 reply
  • 996 views

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 has been closed for replies.
    Correct answer pwillener

    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).

    1 reply

    Inspiring
    October 29, 2010

    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

    Projectitis
    Inspiring
    October 30, 2010

    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

    pwillener
    pwillenerCorrect answer
    Legend
    October 30, 2010

    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).