Currently we display `node.identifier` if someone uses `[]` in a way that triggers a `linkReference`, `imageReference` or `definition`. Example in `schema.js`: https://github.com/orbiting/styleguide/blob/879e7f6be808bb37eff471386325f3ff746ad697/src/templates/Comment/schema.js#L81-L99 Here an example mdast: https://runkit.com/5f67c1f326b183001bb387e6/5f67c1f4be0951001a02898b Newer version of remark seem to have a new `label` attribute which is better. An alternative would be to convert the children to plain text.
Currently we display
node.identifierif someone uses[]in a way that triggers alinkReference,imageReferenceordefinition.Example in
schema.js:styleguide/src/templates/Comment/schema.js
Lines 81 to 99 in 879e7f6
Here an example mdast:
https://runkit.com/5f67c1f326b183001bb387e6/5f67c1f4be0951001a02898b
Newer version of remark seem to have a new
labelattribute which is better. An alternative would be to convert the children to plain text.