Writing Content with Markdown Display

Quick Reference

Overview

Markdown Display by Logic Hop renders markdown as HTML using Parsedown, a Markdown processor written in PHP.

This simple plugin was developed to make writing documentation for Logic Hop easier and more productive.

Your content retains its Markdown formatting in the WordPress editor. The Markdown is rendered as HTML within a DIV with the class markdown when viewed on the frontend or within a preview.

<div class="markdown">
    <!-- YOUR MARKDOWN RENDERED AS HTML -->
</div>

Markdown Display by Logic Hop is also perfect for Logic Hop Affiliates when writing tutorials for Logic Hop as you can easily display code samples.

Special Features

Markdown Display by Logic Hop will process and render both Shortcodes and Logic Tags

To display Data Logic Tags unprocessed for use in documentation, use the following format:

{{ var: your_variable_here }}

To display Conditional Logic Tags unprocessed for use in documentation, use the following format:

{% if condition: your_condition_here %}
  // YOUR CONTENT
{% endif %}

To display Shortcodes unprocessed for use in documentation, use the following format:

[[ your_shortcode_here ]]