| @@ -1,0 +1,18 @@ | ||
| 1 | +<?php | |
| 2 | +/** | |
| 3 | + * Loader for the Markdown library. | |
| 4 | + * | |
| 5 | + * This file loads in a couple specific things from the markdown dir. | |
| 6 | + * | |
| 7 | + * @package automattic/jetpack | |
| 8 | + */ | |
| 9 | + | |
| 10 | +if ( ! defined( 'ABSPATH' ) ) { | |
| 11 | + exit( 0 ); | |
| 12 | +} | |
| 13 | + | |
| 14 | +if ( ! class_exists( 'MarkdownExtra_Parser' ) ) { | |
| 15 | + require_once JETPACK__PLUGIN_DIR . '/_inc/lib/markdown/extra.php'; | |
| 16 | +} | |
| 17 | + | |
| 18 | +require_once JETPACK__PLUGIN_DIR . '/_inc/lib/markdown/gfm.php'; | |