RailsCasts Pro episodes are now free!

Learn more or hide this

Gus P's Profile

GitHub User: staycreativedesign

Comments by Gus P

Avatar

Hey all I had a question about this, I'm using 3.2 and was wondering how would I implement live preview using the example above?? i have it working where when I enter the new information it reads the markdown

then i enter

jquery
<script type="text/javascript">
$('#design_description').keyup(function () {
    var impt = $(this).val();
    $(".preview").html(impt);
});

</script>

in the bottom of the view.... its listening and showing the words but no markdown syntax is applied... how would I do this?