e-Spirit / javascript-content-api-library

Apache License 2.0
7 stars 11 forks source link

Adding section reference name to output #194

Closed andre-kurfuerst-forte closed 8 months ago

andre-kurfuerst-forte commented 8 months ago

The reference name is an unique and readable id that can be used as anchor id, to scroll to the right section. For now the fetchElement function doesn't provide this attribute and an extra api call is required. It would be great if the reference is part of the output.

This is the field I mean:

image
jodeleit-es commented 8 months ago

Thank you for bringing this up here. We will discuss the topic in our next week planning session.

Internal reference: TNG-1344

nico-mcalley commented 8 months ago

Hey @andre-kurfuerst-forte We just merged #195 Feel free to test the latest release which includes names (reference name) and display names of sections. https://github.com/e-Spirit/javascript-content-api-library/releases/tag/v10.19.0