ipfs / ipfs/spec-generator

:dfn[foo] should be presented in a way that allows for linking to them

Open
#7 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
4
Forks
2
PR merge metrics
No merged PRs in 30d

Description

Currently, it is not possible to copy link to specific definition, even tho each have own anchor, and we link to them:

> (example from https://github.com/ipfs/specs/pull/390)
> ![2023-03-31_18-39](https://user-images.githubusercontent.com/157609/229179704-67350d94-0f76-452a-bbe8-365a16087f3b.png)

Quick ideas:
- style `:dfn[` so we can spot them? (dotted underline? Italic font? different weight?)
- on `:hover` show `` as `#` on the left (similar to how we already expose links to headers, but hide them by default)

cc @darobin @hacdias thoughts / ideas / examples how we could present this better?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.