I have a question about markItUp!'s preview function.
Inside jquery.markitup.js i have these settings:
previewTemplatePath:'~/templates/preview.php',
previewParserPath:'~/templates/preview.php',
previewParserVar:'data'
I'm not sure what to do with previewParserPath and previewParserVar. Is it possible to grab the content sent by markItUp in preview.php with PHP?
// preview.php
<body>
<!-- content -->
</body>