Preview Functionality

This commit is contained in:
Daniel Cortés
2019-10-16 12:14:35 -03:00
parent 4043831ccd
commit 5a1923299a
16 changed files with 229 additions and 56 deletions

View File

@@ -0,0 +1,14 @@
@extends('base')
@php
$parse = new Parsedown();
@endphp
@section('content')
<article>
<header>
<h1 class="post-title">{{$title}}</h1>
</header>
{!! $parse->text($md) !!}
</article>
@endsection