| r2712 vs r2713 | ||
|---|---|---|
| ... | ... | |
| 1339 | 1339 | |
| 1340 | 1340 | output: {{{#!html @input@}}} |
| 1341 | 1341 | == 나무나무마크구상3 == |
| 1342 | ||
| 1342 | input="\'\'\'강조\'\'\'\'\'기울임\'\'\-\-취소선\-\-\_\_밑줄\_\_\,\,아래\,\," | |
| 1343 | {{{#!wiki style="display: none" | |
| 1344 | {{{#!if input="\'\'\'강조\'\'\'\'\'기울임\'\'\-\-취소선\-\-\_\_밑줄\_\_\,\,아래\,\,\^\^위\^\^" | |
| 1345 | }}} | |
| 1346 | {{{#!if BoldOpen=input.indexOf("'''") | |
| 1347 | }}}{{{#!if BoldOpen!=-1 | |
| 1348 | {{{#!if BoldClose=input.substring(BoldOpen+3).indexOf("'''") | |
| 1349 | }}}{{{#!if BoldClose!=-1, Text=input.substr(BoldOpen+3,BoldClose) | |
| 1350 | {{{#!if input = input.substring(0,BoldOpen)+'<b>'+Text.trim()+'</b>'+input.substr(BoldOpen+3+BoldClose+3) | |
| 1351 | }}}}}} | |
| 1352 | }}} | |
| 1353 | {{{#!if BoldOpen=input.indexOf("''") | |
| 1354 | }}}{{{#!if BoldOpen!=-1 | |
| 1355 | {{{#!if BoldClose=input.substring(BoldOpen+2).indexOf("''") | |
| 1356 | }}}{{{#!if BoldClose!=-1, Text=input.substr(BoldOpen+2,BoldClose) | |
| 1357 | {{{#!if input = input.substring(0,BoldOpen)+'<em>'+Text.trim()+'</em>'+input.substr(BoldOpen+2+BoldClose+2) | |
| 1358 | }}}}}} | |
| 1359 | }}} | |
| 1360 | {{{#!if BoldOpen=input.indexOf("--") | |
| 1361 | }}}{{{#!if BoldOpen!=-1 | |
| 1362 | {{{#!if BoldClose=input.substring(BoldOpen+2).indexOf("--") | |
| 1363 | }}}{{{#!if BoldClose!=-1, Text=input.substr(BoldOpen+2,BoldClose) | |
| 1364 | {{{#!if input = input.substring(0,BoldOpen)+'<del>'+Text.trim()+'</del>'+input.substr(BoldOpen+2+BoldClose+2) | |
| 1365 | }}}}}} | |
| 1366 | }}} | |
| 1367 | {{{#!if BoldOpen=input.indexOf("__") | |
| 1368 | }}}{{{#!if BoldOpen!=-1 | |
| 1369 | {{{#!if BoldClose=input.substring(BoldOpen+2).indexOf("__") | |
| 1370 | }}}{{{#!if BoldClose!=-1, Text=input.substr(BoldOpen+2,BoldClose) | |
| 1371 | {{{#!if input = input.substring(0,BoldOpen)+'<u>'+Text.trim()+'</u>'+input.substr(BoldOpen+2+BoldClose+2) | |
| 1372 | }}}}}} | |
| 1373 | }}} | |
| 1374 | {{{#!if BoldOpen=input.indexOf(",,") | |
| 1375 | }}}{{{#!if BoldOpen!=-1 | |
| 1376 | {{{#!if BoldClose=input.substring(BoldOpen+2).indexOf(",,") | |
| 1377 | }}}{{{#!if BoldClose!=-1, Text=input.substr(BoldOpen+2,BoldClose) | |
| 1378 | {{{#!if input = input.substring(0,BoldOpen)+'<sub>'+Text.trim()+'</sub>'+input.substr(BoldOpen+2+BoldClose+2) | |
| 1379 | }}}}}} | |
| 1380 | }}} | |
| 1381 | {{{#!if BoldOpen=input.indexOf("^^") | |
| 1382 | }}}{{{#!if BoldOpen!=-1 | |
| 1383 | {{{#!if BoldClose=input.substring(BoldOpen+2).indexOf("^^") | |
| 1384 | }}}{{{#!if BoldClose!=-1, Text=input.substr(BoldOpen+2,BoldClose) | |
| 1385 | {{{#!if input = input.substring(0,BoldOpen)+'<sup>'+Text.trim()+'</sup>'+input.substr(BoldOpen+2+BoldClose+2) | |
| 1386 | }}}}}} | |
| 1387 | }}} | |
| 1343 | 1388 | |
| 1389 | ||
| 1390 | ##}}} | |
| 1391 | ||
| 1344 | 1392 | ## \{{{#!html <div style="clear: both"/>}}} |
| 1345 | 1393 | ## == clearfix |
| 1346 | 1394 | output: {{{#!html @input@}}} |
| ... | ... |