I have three ChucK programs I'd like to upload to the wiki (ChucK/Programs), but the Special:upload seems to only accept graphics. Is there any way to add these files other than making new pages with the code? Cheers - Graham Percival
What you have to do is make a new page and then copy and paste your text into that new page in the wiki. You will have to make sure that you have a blank space on every blank line or else the wiki will think that it is a new section of code. In vim you can do %s/^/ /g and that will insert a space at the front of every line and the wiki will make your code look nice. Unfortunately the wiki has been rocked in the past and this is the price we pay for not having to look at blackjack adds every time we want to learn more about ChucK. Please post the url to the list when you have put your code up. I look forward to playing with it! --art On 14-Jun-06, at 11:51 PM, Graham Percival wrote:
I have three ChucK programs I'd like to upload to the wiki (ChucK/Programs), but the Special:upload seems to only accept graphics. Is there any way to add these files other than making new pages with the code?
Cheers - Graham Percival
_______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
On Sat, 24 Jun 2006 09:29:28 -0700
Adam Tindale
You will have to make sure that you have a blank space on every blank line or else the wiki will think that it is a new section of code. In vim you can do %s/^/ /g and that will insert a space at the front of every line and the wiki will make your code look nice.
Yeah, except that I need to make a copy of the file first, since I don't want silly spaces in front of every line of my code. *grumble* I dislike wikis... Anyway, here they are: http://wiki.cs.princeton.edu/index.php/ChucK/Programs (as you know, Adam, most of my work was done with KiOms; I didn't see the point in uploading them, since few people have KiOms of their own to play with. These three programs were the only ones that IMO made sense to upload) Cheers, - Graham
participants (3)
-
Adam Tindale
-
Graham Percival
-
Graham Percival