Home
last modified time | relevance | path

Searched refs:block (Results 1 – 25 of 1274) sorted by relevance

12345678910>>...51

/plugin/mdpage/vendor/cebe/markdown/
H A DMarkdownExtra.php5 use cebe\markdown\block\TableTrait;
20 use block\TableTrait;
21 use block\FencedCodeTrait;
109 $block = [
127 return [$block, $i];
149 $tag = 'h' . $block['level'];
196 return '{' . $block[1] . '}';
224 $block = array_merge($block, $ref);
229 return $block['orig'];
242 $block = array_merge($block, $ref);
[all …]
/plugin/mdpage/src/DokuWiki/Plugin/Mdpage/
H A DMarkdownRendererTrait.php43 foreach ($blocks as $block) {
45 $result .= $block[1];
144 $content = $block[1];
221 $cols = $block['cols'];
306 return $block;
342 if (($block = $this->lookupRefKeyWithFallback('[', $block)) === false) {
347 $url = $block['url'];
349 $title = $block['title'];
452 if (($block = $this->lookupRefKeyWithFallback('![', $block)) === false) {
457 $url = $block['url'];
[all …]
/plugin/wysiwyg/fckeditor/editor/_source/commandclasses/
H A Dfckblockquotecommand.js39 var block ;
53 block = paragraphs[i] ;
61 block = block.parentNode ;
62 if ( block != lastBlock )
63 tmp.push( block ) ;
64 lastBlock = block ;
70 block = tmp.shift() ;
76 docFrag.appendChild( block.removeChild( block.firstChild ) ) ;
79 block.parentNode.replaceChild( docFrag, block ) ;
106 bqChild = block ;
[all …]
/plugin/mdpage/vendor/cebe/markdown/inline/
H A DLinkTrait.php194 protected function renderEmail($block) argument
200 protected function renderUrl($block) argument
203 $decodedUrl = urldecode($block[1]);
218 protected function renderLink($block) argument
220 if (isset($block['refkey'])) {
222 $block = array_merge($block, $ref);
227 return $block['orig'];
235 protected function renderImage($block) argument
237 if (isset($block['refkey'])) {
239 $block = array_merge($block, $ref);
[all …]
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/inheritance/
H A Duse.test9 {% block content_parent %}
13 {% block content_use1 %}
17 {% block content_use2 %}
21 {% block content %}
22 {{ block('content_use1_only') }}
23 {{ block('content_use2_only') }}
27 {% block content_use1 'content_parent' %}
29 {% block content '' %}
31 {% block content_use1 'content_use1' %}
32 {% block content_use2 'content_use1' %}
[all …]
/plugin/wysiwyg/fckeditor/editor/_source/classes/
H A Dfckdomrangeiterator.js65 var block ;
123 block = currentNode ;
214 if ( !block )
223 block = range.StartBlock ;
225 if ( !block
233 else if ( !block || ( this.EnforceRealBlocks && block.nodeName.toLowerCase() == 'li' ) )
243 range.InsertNode( block ) ;
256 block = block.cloneNode( false ) ;
270 range.InsertNode( block ) ;
281 return block ;
[all …]
/plugin/mdpage/vendor/cebe/markdown/block/
H A DListTrait.php8 namespace cebe\markdown\block;
47 $block = [
63 $block = [
105 $block['items'][++$item][] = $line;
118 $block['items'][$item][] = $line;
123 $block['items'][$item][] = $line;
137 $block['items'][$item][] = $line;
162 return [$block, $i];
168 protected function renderList($block) argument
170 $type = $block['list'];
[all …]
H A DTableTrait.php8 namespace cebe\markdown\block;
33 $block = [
47 $block['cols'][] = '';
55 $block['cols'][] = 'left';
57 $block['cols'][] = 'right';
59 $block['cols'][] = '';
79 $r = count($block['rows']);
81 $block['rows'][] = [];
84 $block['rows'][$r][] = [];
94 return [$block, --$i];
[all …]
H A DHeadlineTrait.php8 namespace cebe\markdown\block;
42 $block = [
47 return [$block, $current];
50 $block = [
55 return [$block, $current + 1];
62 protected function renderHeadline($block) argument
64 $tag = 'h' . $block['level'];
65 return "<$tag>" . $this->renderAbsy($block['content']) . "</$tag>\n";
/plugin/findologicxmlexport/vendor/twig/twig/doc/functions/
H A Dblock.rst1 ``block``
11 times, use the ``block`` function:
13 .. code-block:: jinja
15 <title>{% block title %}{% endblock %}</title>
17 <h1>{{ block('title') }}</h1>
19 {% block body %}{% endblock %}
21 The ``block`` function can also be used to display one block from another
24 .. code-block:: jinja
26 {{ block("title", "common_blocks.twig") }}
31 .. code-block:: jinja
[all …]
H A Dparent.rst5 parent block when overriding a block by using the ``parent`` function:
7 .. code-block:: jinja
11 {% block sidebar %}
17 The ``parent()`` call will return the content of the ``sidebar`` block as
20 … seealso:: :doc:`extends<../tags/extends>`, :doc:`block<../functions/block>`, :doc:`block<../tags/
/plugin/findologicxmlexport/vendor/twig/twig/doc/tags/
H A Dextends.rst15 .. code-block:: html+jinja
35 In this example, the :doc:`block<block>` tags define four blocks that child
46 .. code-block:: jinja
51 {% block head %}
80 ``block`` function:
82 .. code-block:: jinja
93 the parent block:
95 .. code-block:: jinja
109 .. code-block:: jinja
223 {% block post %}
[all …]
H A Duse.rst18 .. code-block:: jinja
22 {% block title %}{% endblock %}
28 .. code-block:: jinja
40 .. code-block:: jinja
50 .. code-block:: jinja
73 .. code-block:: jinja
90 .. code-block:: jinja
96 {% block sidebar %}
109 "parent" block:
111 .. code-block:: jinja
[all …]
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Fixtures/tests/
H A Ddefined_for_blocks.test5 {% block icon %}icon{% endblock %}
6 {% block body %}
8 {{ block('foo') is defined ? 'ok' : 'ko' }}
9 {{ block('footer') is defined ? 'ok' : 'ko' }}
10 {{ block('icon') is defined ? 'ok' : 'ko' }}
13 {% block content %}content{% endblock %}
18 {% block body %}
19 {{ block('icon') is defined ? 'ok' : 'ko' -}}
21 {% block footer %}{% endblock %}
23 {{ block('icon') is defined ? 'ok' : 'ko' }}
[all …]
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Fixtures/functions/
H A Drecursive_block_with_inheritance.test2 "block" function recursively called in a parent template
5 {% block label %}"{{ parent() }}"{% endblock %}
6 {% block list %}{% set class = 'b' %}{{ parent() }}{% endblock %}
9 {% block list %}{% set class = class|default('a') %}<ol class="{{ class }}">{{ block('children') }}…
12 {% block list %}<ul>{{ block('children') }}</ul>{% endblock %}
13 {% block children %}{% set currentItem = item %}{% for item in currentItem %}{{ block('item') }}{% …
14 {% block item %}<li>{% if item is not iterable %}{{ block('label') }}{% else %}{{ block('list') }}{…
15 {% block label %}{{ item }}{% endblock %}
17 {{ block('list') }}
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/use/
H A Dparent_block.test5 {% block foobar %}
6 {{- block('base_base_foobar') -}}
7 Content of block (second override)
11 {% block foobar %}
12 {{- block('base_foobar') -}}
13 Content of block (first override)
16 {% block foobar -%}
17 Content of block
22 Content of block
23 Content of block (first override)
[all …]
H A Dparent_block2.test5 {% block foobar %}
7 Content of block (second override)
11 {% block foobar %}
13 Content of block (first override)
16 {% block foobar -%}
17 Content of block
22 Content of block
23 Content of block (first override)
24 Content of block (second override)
H A Dmultiple_aliases.test7 {{ block('content') }}
8 {{ block('foo') }}
9 {{ block('bar') }}
10 {{ block('foo_content') }}
12 {% block content 'foo' %}
13 {% block foo 'foo' %}
15 {% block content 'bar' %}
16 {% block bar 'bar' %}
H A Ddeep.test6 {{ block('content') }}
7 {{ block('foo') }}
8 {{ block('bar') }}
12 {% block content 'foo' %}
13 {% block foo 'foo' %}
15 {% block content 'bar' %}
16 {% block bar 'bar' %}
/plugin/html2pdf/html2pdf/html2ps/classes/org/active-link/doc/
H A DPHPClass.php121 $block = array();
135 $block[$name][] = $value;
137 $block[$name] = $value;
142 if(array_key_exists("method", $block)) {
144 unset($block["method"]);
145 if(isset($block["param"]) && is_array($block["param"])) {
146 foreach($block["param"] as $param) {
150 unset($block["param"]);
151 foreach($block as $name => $value) {
158 unset($block["class"]);
[all …]
/plugin/commonmark/vendor/league/commonmark/src/Extension/Table/
H A DTableCellRenderer.php25 …public function render(AbstractBlock $block, ElementRendererInterface $htmlRenderer, bool $inTight… argument
27 if (!$block instanceof TableCell) {
28 throw new \InvalidArgumentException('Incompatible block type: ' . get_class($block));
31 $attrs = $block->getData('attributes', []);
33 if ($block->align !== null) {
34 $attrs['align'] = $block->align;
37 … return new HtmlElement($block->type, $attrs, $htmlRenderer->renderInlines($block->children()));
/plugin/commonmark/vendor/league/commonmark/src/Block/Renderer/
H A DListItemRenderer.php27 * @param ListItem $block
33 …public function render(AbstractBlock $block, ElementRendererInterface $htmlRenderer, bool $inTight… argument
35 if (!($block instanceof ListItem)) {
36 throw new \InvalidArgumentException('Incompatible block type: ' . \get_class($block));
39 $contents = $htmlRenderer->renderBlocks($block->children(), $inTightList);
40 if (\substr($contents, 0, 1) === '<' && !$this->startsTaskListItem($block)) {
47 $attrs = $block->getData('attributes', []);
54 private function startsTaskListItem(ListItem $block): bool argument
56 $firstChild = $block->firstChild();
H A DListBlockRenderer.php25 * @param ListBlock $block
31 …public function render(AbstractBlock $block, ElementRendererInterface $htmlRenderer, bool $inTight… argument
33 if (!($block instanceof ListBlock)) {
34 throw new \InvalidArgumentException('Incompatible block type: ' . \get_class($block));
37 $listData = $block->getListData();
41 $attrs = $block->getData('attributes', []);
51 $block->children(),
52 $block->isTight()
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/LegacyFixtures/functions/
H A Dundefined_block.legacy.test2 "block" function with undefined block
5 {% block foo %}{{ parent() }}{{ block('unknown') }}{{ block('bar') }}{% endblock %}
7 {% block foo %}Foo{% endblock %}
8 {% block bar %}Bar{% endblock %}
/plugin/commonmark/vendor/league/commonmark/src/Extension/Footnote/Renderer/
H A DFootnoteRenderer.php31 * @param Footnote $block
37 …public function render(AbstractBlock $block, ElementRendererInterface $htmlRenderer, bool $inTight… argument
39 if (!($block instanceof Footnote)) {
40 throw new \InvalidArgumentException('Incompatible block type: ' . \get_class($block));
43 $attrs = $block->getData('attributes', []);
45 …this->config->get('footnote/footnote_id_prefix', 'fn:') . \mb_strtolower($block->getReference()->g…
48 foreach ($block->getBackrefs() as $backref) {
49 $block->lastChild()->appendChild($backref);
55 $htmlRenderer->renderBlocks($block->children()),

12345678910>>...51