@extends('layout.master') @section('title', 'Markdown') @section('parentPageTitle', 'Forms') @section('content')

Markdown Editor

Markdown editing meet Bootstrap

@stop @section('page-script') $(function() { // markdown editor var initContent = '

Hello there

' + '

How are you? I have below task for you :

' + '

Select from this text... Click the bold on THIS WORD and make THESE ONE italic, ' + 'link GOOGLE to google.com, ' + 'test to insert image (and try to tab after write the image description)

' + '

Test Preview And ending here...

' + '

Click "List"

Enjoy!'; $('#markdown-editor').text(toMarkdown(initContent)); }); @stop