reversemarkdown-net
reversemarkdown-net copied to clipboard
Suggestion: dl, dt, dd could render as lists
Mapping <dl>
to an unordered list seems like a good fit, with <dt>
mapping to <li>
, and <dd>
adding paragraph blocks to the previous list item.
Looks like a good suggestion for conversion of dl,dt and dd, will look at implementing it.
Any news on this ?
@brianary @evilz quick note, I have added implementation to handle definition lists, will be available in the up coming release. I am looking at what other ones which I can include for 3.24.0.
In terms of implementation, it will be a nested lists.
<dl>
<dt>Coffee</dt>
<dd>Filter Coffee</dd>
<dd>Hot Black Coffee</dd>
<dt>Milk</dt>
<dd>White Cold Drink</dd>
</dl>
The above will be converted as below:
- Coffee
- Filter Coffee
- Hot Black Coffee
- Milk
- White Cold Drink
So cool !
Resolved via https://github.com/mysticmind/reversemarkdown-net/commit/485eefdb25eb31b006b5fcf5a415e9c583f4e1bb