Home
last modified time | relevance | path

Searched refs:ListBlock (Results 1 – 14 of 14) sorted by path

/plugin/commonmark/src/Dokuwiki/Plugin/Commonmark/Extension/
H A DCommonmarkToDokuwikiExtension.php57 …->addBlockRenderer(BlockElement\ListBlock::class, new BlockRenderer\ListBlockRenderer(), 0)
/plugin/commonmark/src/Dokuwiki/Plugin/Commonmark/Extension/Renderer/Block/
H A DListBlockRenderer.php19 use League\CommonMark\Block\Element\ListBlock; alias
27 * @param ListBlock $block
35 if (!($block instanceof ListBlock)) {
41 $tag = $listData->type === ListBlock::TYPE_BULLET ? "* " : "- ";
/plugin/commonmark/vendor/league/commonmark/
H A DCHANGELOG-0.x.md162 - Added `ListBlock::setTight()` method
598 - Renamed ListBlock::$data and ListItem::$data to $listData
H A DCHANGELOG.md220 - Added new `ListBlock::TYPE_BULLET` constant as a replacement for `ListBlock::TYPE_UNORDERED`
226 - The `ListBlock` constants now use fully-lowercased values instead of titlecased values
250 …- The `ListBlock::TYPE_UNORDERED` constant has been deprecated, use `ListBlock::TYPE_BULLET` inste…
/plugin/commonmark/vendor/league/commonmark/src/Block/Element/
H A DListBlock.php23 class ListBlock extends AbstractBlock class
/plugin/commonmark/vendor/league/commonmark/src/Block/Parser/
H A DListParser.php17 use League\CommonMark\Block\Element\ListBlock; alias
42 if ($cursor->isIndented() && !($context->getContainer() instanceof ListBlock)) {
58 $data->type = ListBlock::TYPE_BULLET;
65 $data->type = ListBlock::TYPE_ORDERED;
92 if (!($container instanceof ListBlock) || !$data->equals($container->getListData())) {
93 $context->addBlock(new ListBlock($data));
/plugin/commonmark/vendor/league/commonmark/src/Block/Renderer/
H A DListBlockRenderer.php18 use League\CommonMark\Block\Element\ListBlock; alias
25 * @param ListBlock $block
33 if (!($block instanceof ListBlock)) {
39 $tag = $listData->type === ListBlock::TYPE_BULLET ? 'ul' : 'ol';
/plugin/commonmark/vendor/league/commonmark/src/Extension/Attributes/Event/
H A DAttributesListener.php19 use League\CommonMark\Block\Element\ListBlock; alias
46 …if ($parent instanceof ListItem && $parent->parent() instanceof ListBlock && $parent->parent()->is…
/plugin/commonmark/vendor/league/commonmark/src/Extension/
H A DCommonMarkCoreExtension.php58 …->addBlockRenderer(BlockElement\ListBlock::class, new BlockRenderer\ListBlockRenderer(), 0)
/plugin/commonmark/vendor/league/commonmark/src/Extension/TableOfContents/Node/
H A DTableOfContents.php14 use League\CommonMark\Block\Element\ListBlock; alias
17 final class TableOfContents extends ListBlock
/plugin/commonmark/vendor/league/commonmark/src/Extension/TableOfContents/Normalizer/
H A DAsIsNormalizerStrategy.php14 use League\CommonMark\Block\Element\ListBlock; alias
20 /** @var ListBlock */
41 $newListBlock = new ListBlock($this->parentListBlock->getListData());
55 if ($this->parentListBlock instanceof ListBlock) {
H A DRelativeNormalizerStrategy.php14 use League\CommonMark\Block\Element\ListBlock; alias
48 $targetListBlock = new ListBlock($lastListItem->getListData());
/plugin/commonmark/vendor/league/commonmark/src/Extension/TableOfContents/
H A DTableOfContents.php14 use League\CommonMark\Block\Element\ListBlock; alias
27 final class TableOfContents extends ListBlock
H A DTableOfContentsGenerator.php16 use League\CommonMark\Block\Element\ListBlock; alias
32 public const STYLE_BULLET = ListBlock::TYPE_BULLET;
33 public const STYLE_ORDERED = ListBlock::TYPE_ORDERED;
112 $listData->type = ListBlock::TYPE_BULLET;
114 $listData->type = ListBlock::TYPE_ORDERED;