Lines Matching +full:- +full:- +full:pretty

17  * Implementation of https://developer.mozilla.org/en-US/docs/Web/HTML/Element/code
20 * Support <a href="https://github.github.com/gfm/#fenced-code-blocks">Github code block</a>
24 * Mdx Syntax: https://mdxjs.com/guides/syntax-highlighting/
25 * Rehype Plugin used by Floating-ui: https://rehype-pretty-code.netlify.app/
40 const FILE_PATH_KEY = "file-path";
54 * * 'normal' - The plugin can be used inside paragraphs
55 …* * 'block' - Open paragraphs need to be closed before plugin output - block should not be insid…
56 * * 'stack' - Special case. Plugin wraps other paragraphs. - Stacks can contain paragraphs
92 if ($this->getConf(self::CONF_CODE_ENABLE)) {
94 …$this->Lexer->addEntryPattern($pattern, $mode, PluginUtility::getModeFromTag($this->getPluginCompo…
103 if ($this->getConf(self::CONF_CODE_ENABLE)) {
104 …$this->Lexer->addExitPattern('</' . self::CODE_TAG . '>', PluginUtility::getModeFromTag($this->get…
117 * @param int $pos - byte position in the original source file
144 $parentTag = $callStack->moveToParent();
145 $tagAttributes = $parentTag->getAttributes();
158 $callStack->moveToEnd();
159 $openingTag = $callStack->moveToPreviousCorrespondingOpeningCall();
162 PluginUtility::ATTRIBUTES => $openingTag->getAttributes()
175 * @param array $data - what the function handle() return'ed
176 * @return boolean - rendered correctly? (however, returned value is not used at the moment)
198 $display = $attributes->getValue("display");
203 $renderer->doc .= Html::encode($payload);
227 $renderer->code($text, $language, $filename);