Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 3 of 3

Thread: Code box

  1. #1
    Junior Member
    Join Date
    Apr 2010
    Location
    Paisley, Scotland
    Posts
    2
    Member #
    21804
    Hey there I am a game development student and have currently started to make my online portfolio.

    I have very little knowledge of html and css. I want to include samples of my code next to videos of my

    games and was wondering if there was anyway I could do this but keep all the colours of text the

    same as they are in visual studio.

  2.  

  3. #2
    Senior Member
    Join Date
    Jun 2005
    Location
    Atlanta, GA
    Posts
    4,146
    Member #
    10263
    Liked
    1 times
    There are a myriad of ways to do this, but probably the easiest is to go to http://gist.github.com/ , fill in your code, and then click `embed' on the resulting page and copy that code to your site. Github takes care of highlighting your code for you, plus you can update it with full version history as you go. http://gist.github.com/365111 is one of the gists I made, so you can see how it works.

    The colors won't be identical to visual studio, mind you, but there will be syntax highlighting, which is by far the most important thing.

  4. #3
    Junior Member
    Join Date
    Apr 2010
    Location
    Paisley, Scotland
    Posts
    2
    Member #
    21804
    Thanks for the quick response this will do perfectly


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 10:29 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com