Lines Matching refs:markup

19  * A class that renders a markup fragment
48 const CANONICAL = "markup-fragment-fetcher";
56 public const MARKUP_DYNAMIC_EXECUTION_NAME = "markup-dynamic-execution";
95 * @var bool threat the markup as a document (not as a fragment)
118 * @var Path the source path of the markup (may be not set if we render a markup string for instance)
160 * @param Path $executingPath - the path where we can find the markup
195 public static function createStandaloneExecutionFromStringMarkupToXhtml(string $markup): FetcherMarkup
198 ->setRequestedMarkupString($markup)
207 * Starts a child fetcher markup
208 * This is needed for instructions or markup run
220 LogUtility::warning("A markup handler is not running, we couldn't create a child.");
233 * Dokuwiki will wrap the markup in a p element
367 * {@link CacheParser::useCache()} may call a parsing of the markup fragment
395 * At the beginning there is no markup path
698 return "markup-fetcher";
834 throw new ExceptionNotFound("No source path for this markup");
848 * @return Path|null - utility class to get the source markup path or null (if this is a markup snippet/string rendering)
892 * and not to the fetcher markup via {@link self::addSnippet()}
904 // a markup string run
931 * If there is a parent markup handler
944 LogUtility::warning("The execution ($this) is not a path execution. The snippet $snippet will not be preserved after initial rendering. Set the execution as standalone or set a parent markup handler.");
958 * @return bool true if the markup string comes from a path
998 * @return array - the markup instructions
999 * @throws ExceptionNotExists - if the executing markup file does not exist
1011 * We create a fetcher markup to not have the same {@link self::getId()}
1090 throw new ExceptionRuntimeInternal("A markup or a source markup path should be specified.");
1095 LogUtility::error("The path ($sourcePath) does not exist, we have set the markup to the empty string during rendering. If you want to delete the cache path, ask it via the cache path function", self::CANONICAL, $e);
1316 throw new ExceptionNotFound("No meta path for this markup");
1362 $markup = $this->getMarkupStringToExecute();
1366 $markupRenderer = MarkupRenderer::createFromMarkup($markup, $this->getExecutingPathOrNull(), $this->getRequestedContextPath())
1413 LogUtility::internalError("The name of the markup handler is unknown");
1421 throw new ExceptionRuntimeInternal("A source path should be defined if it's not a markup string execution");