Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion: dl, dt, dd could render as lists #282

Closed
brianary opened this issue Apr 10, 2022 · 5 comments
Closed

Suggestion: dl, dt, dd could render as lists #282

brianary opened this issue Apr 10, 2022 · 5 comments
Milestone

Comments

@brianary
Copy link

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.

@mysticmind
Copy link
Owner

Looks like a good suggestion for conversion of dl,dt and dd, will look at implementing it.

@evilz
Copy link

evilz commented Aug 11, 2022

Any news on this ?

@mysticmind mysticmind added this to the 3.24.0 milestone Aug 31, 2022
@mysticmind
Copy link
Owner

mysticmind commented Aug 31, 2022

@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

@evilz
Copy link

evilz commented Aug 31, 2022

So cool !

@mysticmind
Copy link
Owner

Resolved via 485eefd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants