[
'label' => _s('Links'),
'options' => [
'viewer-links' => [
'label' => _s('Viewer links'),
'template' => '%URL_SHORT%',
'size' => 'viewer',
],
'direct-links' => [
'label' => _s('Direct links'),
'template' => '%URL%',
'size' => 'full',
],
],
],
'html-codes' => [
'label' => _s('HTML Codes'),
'options' => [
'html-embed' => [
'label' => _s('HTML image'),
'template' => '
',
'size' => 'full',
],
'html-embed-full' => [
'label' => _s('HTML full linked'),
'template' => '
',
'size' => 'full',
],
'html-embed-medium' => [
'label' => _s('HTML medium linked'),
'template' => '
',
'size' => 'medium',
],
'html-embed-thumbnail' => [
'label' => _s('HTML thumbnail linked'),
'template' => '
',
'size' => 'thumb',
],
],
],
'bbcodes' => [
'label' => _s('BBCodes'),
'options' => [
'bbcode-embed' => [
'label' => _s('BBCode full'),
'template' => '[img]%URL%[/img]',
'size' => 'full',
],
'bbcode-embed-full' => [
'label' => _s('BBCode full linked'),
'template' => '[url=%URL_SHORT%][img]%URL%[/img][/url]',
'size' => 'full',
],
'bbcode-embed-medium' => [
'label' => _s('BBCode medium linked'),
'template' => '[url=%URL_SHORT%][img]%MEDIUM_URL%[/img][/url]',
'size' => 'medium',
],
'bbcode-embed-thumbnail' => [
'label' => _s('BBCode thumbnail linked'),
'template' => '[url=%URL_SHORT%][img]%THUMB_URL%[/img][/url]',
'size' => 'thumb',
],
],
],
'markdown' => [
'label' => 'Markdown',
'options' => [
'markdown-embed' => [
'label' => _s('Markdown full'),
'template' => '',
'size' => 'full',
],
'markdown-embed-full' => [
'label' => _s('Markdown full linked'),
'template' => '[](%URL_SHORT%)',
'size' => 'full',
],
'markdown-embed-medium' => [
'label' => _s('Markdown medium linked'),
'template' => '[](%URL_SHORT%)',
'size' => 'medium',
],
'markdown-embed-thumbnail' => [
'label' => _s('Markdown thumbnail linked'),
'template' => '[](%URL_SHORT%)',
'size' => 'thumb',
],
],
],
];