Menu

Code in Comments

Help
2007-08-17
2012-07-18
  • Jason Southwell

    Jason Southwell - 2007-08-17

    If I place some source code in a comment as an example of usage, it comes through left aligned in the output. I tried adding a <pre> tag in my comment surrounding the code, but while setting it apart a bit in formatting, still came through left aligned.

     
    • TridenT

      TridenT - 2007-08-21

      Try the "Allow HTML in description" option in the 'Input Options'.
      You can then also add any HTML TAG you want.

      tell me if it works for you.

       
      • Jason Southwell

        Jason Southwell - 2007-08-22

        It was set to allow HTML. Like I said, it did format as a PRE tag with the exception that it was all left aligned.

         
        • TridenT

          TridenT - 2007-08-24

          Can you sned me an example of code and result please ?
          trident_job@hotmail.com

           

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.