Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

I want to add feature, to jQuery Terminal, that will allow to execute commands from the server. Right now it only have formatting syntax that look like this:

[[<list of one letter styles> ; <color> ; <background> ; <class>] TEXT ]

and if you want to display bold white text you can use: [[b;#fff;]Some Text].

What syntax should I use for executing commands that will not interfere with formatting but will be similar?

Maybe something like [{name}(param1, param2, param3)] or [[exec:name(param1, param2, param3)]]

Any suggestions are wellcome.

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.