사용자
nyangx3/연습장(비교)
| r89 vs r90 | ||
|---|---|---|
| ... | ... | |
| 1396 | 1396 | }}}{{{#!if input = input.substring(0, linkOpen) + '<div style="display: inline-table"><div style="overflow: hidden"><div style="margin-left: -1.2em' + outLink + '"><a href="' + href + '"><div style="color: ' + linkColor + '; display: inline">' + linkPrint + '</div></a></div></div></div>' + input.substring(linkClose + 2) |
| 1397 | 1397 | }}} |
| 1398 | 1398 | }}} |
| 1399 | ############################################## | |
| 1400 | {{{#!if Open=input.indexOf("'''") | |
| 1401 | }}}{{{#!if Open!=-1 | |
| 1402 | {{{#!if Close=input.substring(Open+3).indexOf("'''") | |
| 1403 | }}}{{{#!if Close!=-1, Text=input.substr(Open+3,Close) | |
| 1404 | {{{#!if input = input.substring(0,Open)+'<b>'+Text.trim()+'</b>'+input.substr(Open+3+Close+3) | |
| 1405 | }}}}}} | |
| 1406 | }}} | |
| 1407 | {{{#!if Open=input.indexOf("''") | |
| 1408 | }}}{{{#!if Open!=-1 | |
| 1409 | {{{#!if Close=input.substring(Open+2).indexOf("''") | |
| 1410 | }}}{{{#!if Close!=-1, Text=input.substr(Open+2,Close) | |
| 1411 | {{{#!if input = input.substring(0,Open)+'<em>'+Text.trim()+'</em>'+input.substr(Open+2+Close+2) | |
| 1412 | }}}}}} | |
| 1413 | }}} | |
| 1414 | {{{#!if Open=input.indexOf("--") | |
| 1415 | }}}{{{#!if Open!=-1 | |
| 1416 | {{{#!if Close=input.substring(Open+2).indexOf("--") | |
| 1417 | }}}{{{#!if Close!=-1, Text=input.substr(Open+2,Close) | |
| 1418 | {{{#!if input = input.substring(0,Open)+'<del>'+Text.trim()+'</del>'+input.substr(Open+2+Close+2) | |
| 1419 | }}}}}} | |
| 1420 | }}} | |
| 1421 | {{{#!if Open=input.indexOf("__") | |
| 1422 | }}}{{{#!if Open!=-1 | |
| 1423 | {{{#!if Close=input.substring(Open+2).indexOf("__") | |
| 1424 | }}}{{{#!if Close!=-1, Text=input.substr(Open+2,Close) | |
| 1425 | {{{#!if input = input.substring(0,Open)+'<u>'+Text.trim()+'</u>'+input.substr(Open+2+Close+2) | |
| 1426 | }}}}}} | |
| 1427 | }}} | |
| 1428 | {{{#!if Open=input.indexOf(",,") | |
| 1429 | }}}{{{#!if Open!=-1 | |
| 1430 | {{{#!if Close=input.substring(Open+2).indexOf(",,") | |
| 1431 | }}}{{{#!if Close!=-1, Text=input.substr(Open+2,Close) | |
| 1432 | {{{#!if input = input.substring(0,Open)+'<sub>'+Text.trim()+'</sub>'+input.substr(Open+2+Close+2) | |
| 1433 | }}}}}} | |
| 1434 | }}} | |
| 1435 | {{{#!if Open=input.indexOf("^^") | |
| 1436 | }}}{{{#!if Open!=-1 | |
| 1437 | {{{#!if Close=input.substring(Open+2).indexOf("^^") | |
| 1438 | }}}{{{#!if Close!=-1, Text=input.substr(Open+2,Close) | |
| 1439 | {{{#!if input = input.substring(0,Open)+'<sup>'+Text.trim()+'</sup>'+input.substr(Open+2+Close+2) | |
| 1440 | }}}}}} | |
| 1441 | }}} | |
| 1399 | 1442 | }}}{{{#!html @input@}}}}}} |