Skip to content
This repository has been archived by the owner on Feb 21, 2019. It is now read-only.

Definition lists #74

Open
tomkiss opened this issue May 31, 2018 · 0 comments
Open

Definition lists #74

tomkiss opened this issue May 31, 2018 · 0 comments

Comments

@tomkiss
Copy link

tomkiss commented May 31, 2018

I'm attempted to build support for definition list markup in slate. slate-edit-list has lots of relevant functionality but it's not suitable out of the box.

As a reminder, here's a definition list:

<!-- A definition list -->
<dl>
<dt>Definition term</dt>
<dd>Description details</dd>
</dl>

And a usage example:

Apple 🍎
An apple is a sweet, edible fruit produced by an apple tree (Malus pumila).
Pear 🍐
The pear is any of several tree and shrub species of genus Pyrus, in the family Rosaceae.
[...]

.
I'm currently looking to create a schema to allow enforce the structure as it might be easiest, but wanted to post this here incase there has been any consideration towards definition list support in slate-edit-list.

Thanks :)

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

No branches or pull requests

1 participant