- WIP on Skeleton again
This commit is contained in:
1 parent
f9c081ff26
commit
38b540bbd8
4 files changed
+72
-3
No files matched your search
@@ -9,6 +9,7 @@ use Notes\Security\Attribute\Security;
|
||||
use Picea, Picea\Ui\Method\FormContext;
|
||||
use TheBugs\Email\MailerInterface;
|
||||
use Storage\Session;
|
||||
use League\CommonMark\CommonMarkConverter;
|
||||
|
||||
use Psr\Http\Message\{ ServerRequestInterface, ResponseInterface };
|
||||
|
||||
@@ -129,9 +130,9 @@ trait ControllerTrait {
|
||||
throw new \BadFunctionCallException("League\CommonMark seems to be missing, please install dependency before trying to render Markdown content");
|
||||
}
|
||||
|
||||
$markdown = ( new CommonMarkConverter() )->convertToHtml(file_get_contents($filepath));
|
||||
$markdown = ( new CommonMarkConverter() )->convert(file_get_contents($filepath));
|
||||
|
||||
return $this->renderView("docs", get_defined_vars());
|
||||
return $this->renderView("lean/layout/docs", get_defined_vars());
|
||||
}
|
||||
|
||||
#[Ignore]
|
||||
|
||||
Reference in new issue
Block a user