%3C%21--+Note%3A+you+can+turn+on%2Foff+word+wrap+in+this+text+area+by+clicking+the+checkbox+below.+Also%2C+any+text+you+see+between+less+than+and+greater+than+marks%2C+that%27s+HTML.+You+don%27t+have+to+use%2Fknow+HTML+to+write+a+QnA%2C+but+it+can+be+useful.+For+example%2C+this+text+doesn%27t+show+up+in+the+word+bubbles+because+it%27s+an+HTML+comment.+--%3E%0A%0AQ%281%29%3A+Would+you+like+to+write+an+interactive+QnA%3F%0AA%3A+Yes.%0A%09Q%281.1%29%3A+Are+you+viewing+this+exchange+in+a+window+with+the+same+text+in+two+places%2C+a+text+area+on+the+left+and+blue+and+gray+word+bubbles+on+the+right%3F%0A%09A%3A+Yes.%0A%09%09Q%281.1.1%29%3A+Cool.+The+text+on+the+left%2C+coupled+with+user+interaction%2C+defines+how+the+bubbles+are+presented.+Do+you+want+to+learn+more%3F%0A%09%09A%3A+Yes.%0A%09%09%09Q%281.1.1.1%29%3A+The+text+on+the+left+is+just+a+set+of+nested+text+blocks.+The+blocks+start+with+either+a+%22Q%3A%22+or+an+%22A%3A%22.+I+know%2C+I+know...++you+see+parentheses+with+numbers+after+the+letters+and+before+the+colons%2C+but+you+can+leave+these+out.%2A+They%27re+added+automatically+by+the+editor+when+you+click+%22Update+Outputs%22+to+help+you+know+where+things+are.%0A%09%09%09A%3A+What%27s+the+asterisk+for%3F%0A%09%09%09%09Q%281.1.1.1.1%29%3A+Well%2C+sometimes+you+do+need+the+numbers%2C+like+when+you+want+to+use+a+GOTO+call.+%0A%09%09%09%09A%3A+What%27s+that%3F%0A%09%09%09%09%09Q%281.1.1.1.1.1%29%3A+You+can+place+a+GOTO+call+at+the+end+of+a+question+%28a+block+starting+with+Q%29+and+it+will+jump+to+where+you+point+it.+Want+to+give+it+a+try%3F%0A%09%09%09%09%09A%3A+Yes.+Again%2C+again%21+%0A%09%09%09%09%09%09Q%281.1.1.1.1.1.1%29%3AGOTO%3A1.1.1.1.1%0A%09%09%09%09%09A%3A+No.+Let%27s+move+on.%0A%09%09%09%09%09%09Q%28myname%29%3A+Instead+of+pre-defined+answers%2Fchoices%2C+you+can+also+ask+the+viewer+to+enter+text+of+their+own.+For+example%2C+what%27s+your+name%3F%0A%09%09%09%09%09%09X%3A%0A%09%09%09%09%09%09%09Q%281.1.1.1.1.1.2.1%29%3A+Pleased+to+meet+you+%3Cx%3Emyname%3C%2Fx%3E.+See+what+I+did+there%3F+You+can+do+more%2C+but+now+you+know+the+basics.+For+example%2C+you+can+split+a+bubble+in+two.+%3Cbr%3E%3Cbr%3E+You+can+do+a+lot+with+with+just%3A+Q+GOTO+A+and+X.+%3Cbr%3E%3Cbr%3E+Do+you+want+me+to+open+a+window+a+detailed+descriptions+of+what+you+can+do%3F%0A%09%09%09%09%09%09%09A%3A%5Bhttp%3A%2F%2Fwww.qnamarkup.org%2Fsyntax%2F%5D+Yes.%0A%09%09%09%09%09%09%09%09Q%281.1.1.1.1.1.2.1.1%29%3A+Feel+free+to+edit+what+you+see+in+the+text+field+or+start+from+scratch.+To+see+what+your+markup+come+to+life%2C+hit+the+%22Update+Outputs%22+button+below+the+text+area.+GOTO%3A2%0A%09%09%09%09%09%09%09A%3A+No.%0A%09%09%09%09%09%09%09%09Q%281.1.1.1.1.1.2.1.2%29%3AGOTO%3A1.1.1.1.1.1.2.1.1%0A%09%09A%3A+No.%0A%09%09%09Q%281.1.1.2%29%3AGOTO%3A2%0A%09A%3A+No.%0A%09%09Q%281.1.2%29%3A+Then+head+over+to+%3Ca+href%3D%22http%3A%2F%2Fwww.qnamarkup.org%22%3Ehttp%3A%2F%2Fwww.QnAMarkup.org%3C%2Fa%3E.%0AA%3A+No.+%0A%09Q%281.2%29%3A+Okay+then.+GOTO%3A2%0A%0AQ%282%29%3A+Have+a+nice+day.
Would you like to write an interactive QnA?
Are you viewing this exchange in a window with the same text in two places, a text area on the left and blue and gray word bubbles on the right?
Cool. The text on the left, coupled with user interaction, defines how the bubbles are presented. Do you want to learn more?
The text on the left is just a set of nested text blocks. The blocks start with either a "Q:" or an "A:". I know, I know... you see parentheses with numbers after the letters and before the colons, but you can leave these out.* They're added automatically by the editor when you click "Update Outputs" to help you know where things are.
Well, sometimes you do need the numbers, like when you want to use a GOTO call.
You can place a GOTO call at the end of a question (a block starting with Q) and it will jump to where you point it. Want to give it a try?
GOTO:1.1.1.1.1
Instead of pre-defined answers/choices, you can also ask the viewer to enter text of their own. For example, what's your name?
Pleased to meet you myname. See what I did there? You can do more, but now you know the basics. For example, you can split a bubble in two.
You can do a lot with with just: Q GOTO A and X.
Do you want me to open a window a detailed descriptions of what you can do?
Feel free to edit what you see in the text field or start from scratch. To see what your markup come to life, hit the "Update Outputs" button below the text area. GOTO:2
GOTO:1.1.1.1.1.1.2.1.1
GOTO:2
Okay then. GOTO:2
Have a nice day.
Yes.
javascript:void('');
Yes.
Yes.
javascript:void('');
Yes.
Yes.
javascript:void('');
Yes.
What's the asterisk for?
javascript:void('');
What's the asterisk for?
What's that?
javascript:void('');
What's that?
Yes. Again, again!
javascript:void('');
Yes. Again, again!
No. Let's move on.
javascript:void('');
No. Let's move on.
javascript:void('');
text
1.1.1.1.1.1.2.1
Yes.
http://www.qnamarkup.org/syntax/
target="_blank" i="http://www.qnamarkup.org/syntax/"
Yes.
No.
javascript:void('');
No.
No.
javascript:void('');
No.
No.
javascript:void('');
No.
No.
javascript:void('');
No.