Home
last modified time | relevance | path

Searched refs:HtmlElement (Results 1 – 25 of 35) sorted by relevance

12

/plugin/commonmark/vendor/league/commonmark/src/
H A DHtmlElement.php19 class HtmlElement class
32 * @var HtmlElement|HtmlElement[]|string
44 … * @param HtmlElement|HtmlElement[]|string|null $contents Inner contents, pre-escaped if needed
88 * @return HtmlElement|HtmlElement[]|string
102 * @param HtmlElement|HtmlElement[]|string $contents
/plugin/commonmark/vendor/league/commonmark/src/Block/Renderer/
H A DIndentedCodeRenderer.php20 use League\CommonMark\HtmlElement; alias
30 * @return HtmlElement
40 return new HtmlElement(
43 new HtmlElement('code', $attrs, Xml::escape($block->getStringContent()))
H A DBlockQuoteRenderer.php20 use League\CommonMark\HtmlElement; alias
29 * @return HtmlElement
41 … return new HtmlElement('blockquote', $attrs, $htmlRenderer->getOption('inner_separator', "\n"));
44 return new HtmlElement(
H A DFencedCodeRenderer.php20 use League\CommonMark\HtmlElement; alias
30 * @return HtmlElement
46 return new HtmlElement(
49 new HtmlElement('code', $attrs, Xml::escape($block->getStringContent()))
H A DThematicBreakRenderer.php20 use League\CommonMark\HtmlElement; alias
29 * @return HtmlElement
39 return new HtmlElement('hr', $attrs, '', true);
H A DHeadingRenderer.php20 use League\CommonMark\HtmlElement; alias
29 * @return HtmlElement
41 return new HtmlElement($tag, $attrs, $htmlRenderer->renderInlines($block->children()));
H A DParagraphRenderer.php20 use League\CommonMark\HtmlElement; alias
29 * @return HtmlElement|string
43 return new HtmlElement('p', $attrs, $htmlRenderer->renderInlines($block->children()));
H A DListBlockRenderer.php20 use League\CommonMark\HtmlElement; alias
29 * @return HtmlElement
47 return new HtmlElement(
H A DBlockRendererInterface.php19 use League\CommonMark\HtmlElement; alias
28 * @return HtmlElement|string|null
/plugin/commonmark/vendor/league/commonmark/src/Extension/Footnote/Renderer/
H A DFootnoteContainerRenderer.php21 use League\CommonMark\HtmlElement; alias
40 $contents = new HtmlElement('ol', [], $htmlRenderer->renderBlocks($block->children()));
42 $contents = [new HtmlElement('hr', [], null, true), $contents];
45 return new HtmlElement('div', $attrs, $contents);
H A DFootnoteRenderer.php21 use League\CommonMark\HtmlElement; alias
35 * @return HtmlElement
52 return new HtmlElement(
/plugin/commonmark/vendor/league/commonmark/src/Inline/Renderer/
H A DNewlineRenderer.php18 use League\CommonMark\HtmlElement; alias
28 * @return HtmlElement|string
37 return new HtmlElement('br', [], '', true) . "\n";
H A DStrongRenderer.php18 use League\CommonMark\HtmlElement; alias
28 * @return HtmlElement
38 return new HtmlElement('strong', $attrs, $htmlRenderer->renderInlines($inline->children()));
H A DEmphasisRenderer.php18 use League\CommonMark\HtmlElement; alias
28 * @return HtmlElement
38 return new HtmlElement('em', $attrs, $htmlRenderer->renderInlines($inline->children()));
H A DCodeRenderer.php18 use League\CommonMark\HtmlElement; alias
29 * @return HtmlElement
39 return new HtmlElement('code', $attrs, Xml::escape($inline->getContent()));
H A DLinkRenderer.php18 use League\CommonMark\HtmlElement; alias
36 * @return HtmlElement
59 return new HtmlElement('a', $attrs, $htmlRenderer->renderInlines($inline->children()));
H A DImageRenderer.php18 use League\CommonMark\HtmlElement; alias
36 * @return HtmlElement
61 return new HtmlElement('img', $attrs, '', true);
H A DInlineRendererInterface.php18 use League\CommonMark\HtmlElement; alias
27 * @return HtmlElement|string|null
/plugin/commonmark/vendor/league/commonmark/src/Extension/TaskList/
H A DTaskListItemMarkerRenderer.php15 use League\CommonMark\HtmlElement; alias
25 * @return HtmlElement|string|null
33 $checkbox = new HtmlElement('input', [], '', true);
/plugin/commonmark/vendor/league/commonmark/src/Extension/HeadingPermalink/
H A DHeadingPermalinkRenderer.php15 use League\CommonMark\HtmlElement; alias
65 return new HtmlElement('a', $attrs, $innerContents, false);
70 return new HtmlElement('a', $attrs, \htmlspecialchars($symbol), false);
/plugin/commonmark/vendor/league/commonmark/src/Extension/Strikethrough/
H A DStrikethroughRenderer.php15 use League\CommonMark\HtmlElement; alias
27 …return new HtmlElement('del', $inline->getData('attributes', []), $htmlRenderer->renderInlines($in…
/plugin/commonmark/vendor/league/commonmark/src/Extension/Table/
H A DTableRowRenderer.php21 use League\CommonMark\HtmlElement; alias
35 …return new HtmlElement('tr', $attrs, $separator . $htmlRenderer->renderBlocks($block->children()) …
H A DTableRenderer.php21 use League\CommonMark\HtmlElement; alias
37 return new HtmlElement('table', $attrs, $separator . \trim($children) . $separator);
H A DTableCellRenderer.php21 use League\CommonMark\HtmlElement; alias
37 … return new HtmlElement($block->type, $attrs, $htmlRenderer->renderInlines($block->children()));
/plugin/commonmark/vendor/league/commonmark/src/Extension/SmartPunct/
H A DQuoteRenderer.php18 use League\CommonMark\HtmlElement; alias
28 * @return HtmlElement|string|null

12