|
|
Line 36: |
Line 36: |
| pre: '<span class="blockhanja">', | | pre: '<span class="blockhanja">', |
| post: '</span>' | | post: '</span>' |
| }
| |
| }
| |
| },
| |
| 'mw-geshi': {
| |
| label: 'mw-geshi',
| |
| type: 'button',
| |
| icon: '//wiki.michaelhan.net/private/assets/tag-mw-geshi.png',
| |
| action: {
| |
| type: 'encapsulate',
| |
| options: {
| |
| pre: '<div class="mw-geshi">',
| |
| post: "</div>"
| |
| }
| |
| }
| |
| },
| |
| 'code': {
| |
| label: 'code',
| |
| type: 'button',
| |
| icon: '//wiki.michaelhan.net/private/assets/tag-code.png',
| |
| action: {
| |
| type: 'encapsulate',
| |
| options: {
| |
| pre: "<code>",
| |
| post: "</code>"
| |
| }
| |
| }
| |
| },
| |
| 'package': {
| |
| label: 'package',
| |
| type: 'button',
| |
| icon: '//wiki.michaelhan.net/private/assets/tag-package.png',
| |
| action: {
| |
| type: 'encapsulate',
| |
| options: {
| |
| pre: '<span class="package">',
| |
| post: "</span>"
| |
| }
| |
| }
| |
| },
| |
| 'shellpath': {
| |
| label: 'shell/path',
| |
| type: 'button',
| |
| icon: '//wiki.michaelhan.net/private/assets/tag-shell-path.png',
| |
| action: {
| |
| type: 'encapsulate',
| |
| options: {
| |
| pre: '<span class="shell">',
| |
| post: "</span>"
| |
| }
| |
| }
| |
| },
| |
| 'clifull': {
| |
| label: 'cli-flushed',
| |
| type: 'button',
| |
| icon: '//wiki.michaelhan.net/private/assets/tag-cli.png',
| |
| action: {
| |
| type: 'encapsulate',
| |
| options: {
| |
| pre: '<div class="cli">',
| |
| post: "</div>"
| |
| }
| |
| }
| |
| },
| |
| 'outputfull': {
| |
| label: 'output-flushed',
| |
| type: 'button',
| |
| icon: '//wiki.michaelhan.net/private/assets/tag-output.png',
| |
| action: {
| |
| type: 'encapsulate',
| |
| options: {
| |
| pre: '<pre class="output">',
| |
| post: "</pre>"
| |
| } | | } |
| } | | } |