Menu

#180 Text not greyed with the <code> tag

Next Release
closed
None
5
2005-01-12
2005-01-12
ShadowFil
No

Hello,

The <code> NDoc tag has not the same behavior that
the <code> HTML element. The code don't appear on a
grey background.

It will be more nice if the code examples appear on a
grey background.

It will be also nice if the indentation of XML or HTML
code samples are preserved.

Cordially

Discussion

  • Kevin Downs

    Kevin Downs - 2005-01-12

    Logged In: YES
    user_id=919791

    The formatting of the NDoc code tag follows whatever is
    the 'standard' for the particular documentation type.

    In the current MS documention, code samples have a white
    background.

     
  • Kevin Downs

    Kevin Downs - 2005-01-12

    Logged In: YES
    user_id=919791

    Indentation within code samples *is* preserved. Note
    however, that the code is always left-aligned; additional
    indentation of the entire code is ignored (this ensures
    consistency of presentation.)

     
  • Kevin Downs

    Kevin Downs - 2005-01-12
    • assigned_to: nobody --> kdowns
    • status: open --> closed
     
  • ShadowFil

    ShadowFil - 2005-01-12

    Logged In: YES
    user_id=1195654

    Then, how can I do to have code examples greyed ?

    And, how can I do to show a XML example which has a
    element with its attributes aligned on several lignes, as this :
    <Provider name="name"
    assembly="smdflkgjsdflkgjsdmlfgkjsdmlfgj"
    type="dmfkjghdfkljghdslkjgh"/>

     

Log in to post a comment.

MongoDB Logo MongoDB