1<?php 2/** 3 * @copyright Copyright (c) 2014 Carsten Brandt 4 * @license https://github.com/cebe/markdown/blob/master/LICENSE 5 * @link https://github.com/cebe/markdown#readme 6 */ 7 8namespace cebe\markdown\tests; 9 10use cebe\markdown\Markdown; 11 12/** 13 * Test support ordered lists at arbitrary number(`start` html attribute) 14 * @author Maxim Hodyrew <maximkou@gmail.com> 15 * @group default 16 */ 17class MarkdownOLStartNumTest extends BaseMarkdownTest 18{ 19 public function createMarkdown() 20 { 21 $markdown = new Markdown(); 22 $markdown->keepListStartNumber = true; 23 return $markdown; 24 } 25 26 public function getDataPaths() 27 { 28 return [ 29 'markdown-data' => __DIR__ . '/markdown-ol-start-num-data', 30 ]; 31 } 32} 33