From 924949850322144036e281bf94fb8b88c42bbd74 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Tue, 16 Feb 2016 22:06:53 -0500 Subject: Add file preview for Markdown and text files --- app/Template/file_viewer/show.php | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'app/Template/file_viewer') diff --git a/app/Template/file_viewer/show.php b/app/Template/file_viewer/show.php index e0d1b21e..c71ef91c 100644 --- a/app/Template/file_viewer/show.php +++ b/app/Template/file_viewer/show.php @@ -1,8 +1,14 @@ +
+ + <?= $this->e($file['name']) ?> + +
+ text->markdown($content) ?> +
+ +
+
\ No newline at end of file -- cgit v1.2.3