diff options
author | Waylan Limberg <waylan@gmail.com> | 2013-07-19 21:39:14 -0400 |
---|---|---|
committer | Waylan Limberg <waylan@gmail.com> | 2013-07-19 21:39:14 -0400 |
commit | a9ca97325e9039de90eae29fb3d8879bc9f367f6 (patch) | |
tree | 4e7ec47a4f22317a85dea572e6e5d76f9d7bfafe /tests/extensions/attr_list.html | |
parent | fbfa42dfafaa7b129c864cc359f9e6697887dab3 (diff) | |
download | markdown-a9ca97325e9039de90eae29fb3d8879bc9f367f6.tar.gz markdown-a9ca97325e9039de90eae29fb3d8879bc9f367f6.tar.bz2 markdown-a9ca97325e9039de90eae29fb3d8879bc9f367f6.zip |
Added support for attr_lists on definition list terms.
Like headers (h1-6) dt's can only be on one line, so we need to use
the header regex on dt's. This was implemented after considering a recent
[discussion](http://six.pairlist.net/pipermail/markdown-discuss/2013-July/002859.html)
on the markdown mailing list. Prior to that discussion, I never considered
that it was impossable to set block level attrs on dt's. Now it is.
Diffstat (limited to 'tests/extensions/attr_list.html')
-rw-r--r-- | tests/extensions/attr_list.html | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/tests/extensions/attr_list.html b/tests/extensions/attr_list.html index ad965fd..b76f73b 100644 --- a/tests/extensions/attr_list.html +++ b/tests/extensions/attr_list.html @@ -48,4 +48,13 @@ And a <strong class="nest">nested <a class="linky2" href="http://example.com" ti </ol> </li> <li>Item5</li> -</ol>
\ No newline at end of file +</ol> +<h1 class="block">Definition <em>lists</em></h1> +<dl> +<dt class="term">DT1</dt> +<dt class="term">DT2</dt> +<dd class="def">Some dd</dd> +<dd><em class="inline">dd</em></dd> +<dt><em class="inline">DT3</em></dt> +<dd>Some dd</dd> +</dl>
\ No newline at end of file |