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

Parse tags other than headings and <p>, e.g. definition lists #12

Open
melat0nin opened this issue Aug 19, 2022 · 1 comment
Open

Parse tags other than headings and <p>, e.g. definition lists #12

melat0nin opened this issue Aug 19, 2022 · 1 comment

Comments

@melat0nin
Copy link

melat0nin commented Aug 19, 2022

I'm thinking specifically of definition lists, i.e. <dt>s and their associated <dd>s. Using Nutshell to refer to definitions of terms that are presented in a semantically correct way seems very much to fit with the ethos of the project!

For example, in the following code on the target page:

<dl>
<dt id="myfirstterm">My term</dt>
<dd>My term's definition lorem ipsum dolor sit amet consectetur adipiscing elit</dd>
</dl>

it would be great if this code could retrieve the definition in a Nutshell:

...when we talk about [:my term](/terminology/#myfirstterm), what matters is...
@michaeltlombardi
Copy link

I just came across this need as well - I could rework my content to use headers but I do think being able to reference definitions is a coherent usage of Nutshell.

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

No branches or pull requests

2 participants