{ "exercise": "markdown", "version": "1.2.0", "comments": [ "Markdown is a shorthand for creating HTML from text strings." ], "cases": [ { "description": "parses normal text as a paragraph", "property": "parse", "input": { "markdown": "This will be a paragraph" }, "expected": "

This will be a paragraph

" }, { "description": "parsing italics", "property": "parse", "input": { "markdown": "_This will be italic_" }, "expected": "

This will be italic

" }, { "description": "parsing bold text", "property": "parse", "input": { "markdown": "__This will be bold__" }, "expected": "

This will be bold

" }, { "description": "mixed normal, italics and bold text", "property": "parse", "input": { "markdown": "This will _be_ __mixed__" }, "expected": "

This will be mixed

" }, { "description": "with h1 header level", "property": "parse", "input": { "markdown": "# This will be an h1" }, "expected": "

This will be an h1

" }, { "description": "with h2 header level", "property": "parse", "input": { "markdown": "## This will be an h2" }, "expected": "

This will be an h2

" }, { "description": "with h6 header level", "property": "parse", "input": { "markdown": "###### This will be an h6" }, "expected": "
This will be an h6
" }, { "description": "unordered lists", "property": "parse", "input": { "markdown": "* Item 1\n* Item 2" }, "expected": "" }, { "description": "With a little bit of everything", "property": "parse", "input": { "markdown": "# Header!\n* __Bold Item__\n* _Italic Item_" }, "expected": "

Header!

" } ] }