Parsedownをプラグイン経由で使うようにした

This commit is contained in:
shibafu
2017-11-03 23:23:36 +09:00
parent d94c444b55
commit efea60fc81
4 changed files with 83 additions and 29 deletions

View File

@@ -10,6 +10,6 @@
</nav>
<h2><span class="badge {{ $category['class'] }}">{{ $category['label'] }}</span> {{ $info->title }}</h2>
<p class="text-secondary"><span class="oi oi-calendar"></span> {{ $info->created_at->format('Y年n月j日') }}</p>
{!! $compiledContent !!}
@parsedown($info->content)
</div>
@endsection