Aller au contenu

Photo

REQUEST: [dascript]Your code here![/dascript]


3 réponses à ce sujet

#1
Sunjammer

Sunjammer
  • Members
  • 925 messages

The NWN forums has [code=auto:0] and [nwscript] tags. The latter also makes an attempt at syntax highlighting (however the config/definitions file is incomplete/out of date). Given that dascript is going to present the same issues when trying post scripts and snippets we will need a similar feature in these forums and in group/project discussions.

 

If it helps Byran has the current GeSHi config file for dascript which will not only handle the syntax highlighting but will link to the function's page in the wiki.

 

An alternative would be to provide a dedicated pastebin subdomain like the nwn one (nwn.pastebin.com) but this would cause me to use the sad emoticon.

 



#2
Jesse van Herk

Jesse van Herk
  • BioWare Employees
  • 514 messages
We need to get equivalents of all of the old bbcode-style stuff in place - adding this to our backlog, but it likely won't get done for some time. :/

#3
Jesse van Herk

Jesse van Herk
  • BioWare Employees
  • 514 messages
Sunjammer: no clue yet :P

#4
Jesse van Herk

Jesse van Herk
  • BioWare Employees
  • 514 messages
this might work now, it's hard to say.<br />
[dascript]int main(){ doStuff() };<br />

it appears to be being parsed alright, but isn't being highlighted.  We'll work on it!

[/dascript]

Modifié par Jesse van Herk, 16 septembre 2009 - 06:22 .