function MarkdownExtraExtended_Parser($default_classes = array()) { $default_classes = $default_classes; $this->block_gamut += array("doFencedFigures" => 7); $this->span_gamut += array("doStrikethroughs" => -35); parent::MarkdownExtra_Parser(); }
/** * Set environment defaults based on presence of key functions/classes. */ public function __construct() { $this->use_code_shortcode = class_exists('SyntaxHighlighter'); $this->preserve_shortcodes = function_exists('get_shortcode_regex'); $this->preserve_latex = function_exists('latex_markup'); $this->strip_paras = function_exists('wpautop'); parent::MarkdownExtra_Parser(); }
public function __construct() { // doImage is 10, add image url just before $this->span_gamut['doImageURL'] = 9; // doLink is 20, add base url just before $this->span_gamut['doBaseURL'] = 19; // Add API links $this->span_gamut['doAPI'] = 90; // Add note spans last $this->span_gamut['doNotes'] = 100; // Add toc $this->span_gamut['doTOC'] = 100; // PHP4 makes me sad. parent::MarkdownExtra_Parser(); }
public function __construct() { // doImage is 10, add image url just before $this->span_gamut['doImageURL'] = 9; // doLink is 20, add base url just before $this->span_gamut['doBaseURL'] = 19; // Add API links $this->span_gamut['doAPI'] = 90; // Add note spans last $this->span_gamut['doNotes'] = 100; // Parse Kohana view inclusions at the very end $this->document_gamut['doIncludeViews'] = 100; // PHP4 makes me sad. parent::MarkdownExtra_Parser(); }
public function __construct(dmHelper $helper, array $options = array()) { $this->helper = $helper; parent::MarkdownExtra_Parser(); $this->initialize($options); }
function MarkdownUltra_Parser() { parent::MarkdownExtra_Parser(); $this->languages = array(); $parser = new MarkdownExtra_Parser(); }
function MarkdownExtraExtended_Parser($default_classes = array()) { $default_classes = $default_classes; $this->block_gamut += array("doFencedFigures" => 7, "doTodoLists" => 35, "doIconLists" => 10, "doIcons" => 10); parent::MarkdownExtra_Parser(); }
function ExtendedMarkdown() { $this->block_gamut += array("doBlockWarning" => 45); parent::MarkdownExtra_Parser(); }