Home
last modified time | relevance | path

Searched refs:attrs (Results 51 – 75 of 188) sorted by path

12345678

/plugin/commonmark/src/Dokuwiki/Plugin/Commonmark/Extension/Renderer/Block/
H A DListBlockRenderer.php40 $attrs = $node->data->get('attributes');
43 $attrs['start'] = (string) $listData->start;
/plugin/commonmark/src/Dokuwiki/Plugin/Commonmark/Extension/Renderer/Inline/
H A DFootnoteRefRenderer.php37 $attrs = $node->data->getData('attributes');
H A DImageRenderer.php44 $attrs = $node->data->get('attributes');
48 $attrs['src'] = '';
50 $attrs['src'] = $node->getUrl();
55 $attrs['alt'] = \preg_replace('/\<[^>]*\>/', '', $alt);
58 $attrs['title'] = $node->data['title'];
61 $result = '{{' . $attrs['src'];
62 $attrs['alt'] ? $result.= '|' . $attrs['alt'] . '}}' : $result.= '}}';
H A DLinkRenderer.php43 $attrs = $node->data->get('attributes');
47 $attrs['href'] = $node->getUrl();
50 $result = '[[' . $attrs['href'] . '|' . $DWRenderer->renderNodes($node->children()) . ']]';
/plugin/commonmark/vendor/league/commonmark/src/Block/Renderer/
H A DBlockQuoteRenderer.php
H A DFencedCodeRenderer.php
H A DHeadingRenderer.php
H A DIndentedCodeRenderer.php
H A DListBlockRenderer.php
H A DListItemRenderer.php
H A DParagraphRenderer.php
H A DThematicBreakRenderer.php
/plugin/commonmark/vendor/league/commonmark/src/Extension/Footnote/Renderer/
H A DFootnoteBackrefRenderer.php43 $attrs = $node->data->getData('attributes');
45 $attrs->append('class', $this->config->get('footnote/backref_class'));
46 $attrs->set('rev', 'footnote');
47 $attrs->set('href', \mb_strtolower($node->getReference()->getDestination(), 'UTF-8'));
48 $attrs->set('role', 'doc-backlink');
53 return '&nbsp;' . new HtmlElement('a', $attrs->export(), \htmlspecialchars($symbol), true);
H A DFootnoteContainerRenderer.php41 $attrs = $node->data->getData('attributes');
43 $attrs->append('class', $this->config->get('footnote/container_class'));
44 $attrs->set('role', 'doc-endnotes');
51 return new HtmlElement('div', $attrs->export(), $contents);
H A DFootnoteRefRenderer.php41 $attrs = $node->data->getData('attributes');
42 $attrs->append('class', $this->config->get('footnote/ref_class'));
43 $attrs->set('href', \mb_strtolower($node->getReference()->getDestination(), 'UTF-8'));
44 $attrs->set('role', 'doc-noteref');
55 $attrs->export(),
H A DFootnoteRenderer.php41 $attrs = $node->data->getData('attributes');
43 $attrs->append('class', $this->config->get('footnote/footnote_class'));
44 $attrs->set('id', $this->config->get('footnote/footnote_id_prefix') . \mb_strtolower($node->getReference()->getLabel(), 'UTF-8'));
45 $attrs->set('role', 'doc-endnote');
49 $attrs->export(),
/plugin/commonmark/vendor/league/commonmark/src/Extension/HeadingPermalink/
H A DHeadingPermalinkRenderer.php57 $attrs = $node->data->getData('attributes');
67 $attrs->set('id', $idPrefix . $slug);
70 $attrs->set('href', '#' . $fragmentPrefix . $slug);
71 $attrs->append('class', $this->config->get('heading_permalink/html_class'));
75 $attrs->set('aria-hidden', 'true');
78 $attrs->set('title', $this->config->get('heading_permalink/title'));
83 return new HtmlElement('a', $attrs->export(), \htmlspecialchars($symbol), false);
/plugin/commonmark/vendor/league/commonmark/src/Extension/Table/
H A DTableCellRenderer.php55 $attrs = $node->data->get('attributes');
57 $attrs = AttributesHelper::mergeAttributes($attrs, $this->alignmentAttributes[$alignment]);
62 return new HtmlElement($tag, $attrs, $childRenderer->renderNodes($node->children()));
H A DTableRenderer.php37 $attrs = $node->data->get('attributes');
43 return new HtmlElement('table', $attrs, $separator . \trim($children) . $separator);
H A DTableRowRenderer.php37 $attrs = $node->data->get('attributes');
41 return new HtmlElement('tr', $attrs, $separator . $childRenderer->renderNodes($node->children()) . $separator);
H A DTableSectionRenderer.php41 $attrs = $node->data->get('attributes');
47 return new HtmlElement($tag, $attrs, $separator . $childRenderer->renderNodes($node->children()) . $separator);
/plugin/commonmark/vendor/league/commonmark/src/Inline/Renderer/
H A DCodeRenderer.php
H A DEmphasisRenderer.php
H A DImageRenderer.php
H A DLinkRenderer.php

12345678