Caleb Ukle
|
7699b33ea1
|
fix(nx-dev): allow linking to headers that are code wrapped (#26608)
before if a header that was using `code` in the title (i.e. launch
template) the header should so the link icon but would not link anywhere
because the rendered id tag would be an empty string

after the id tag is correctly linked by checking the rendering children
contains a `code` tag and pulls the code children out.
added benefit includes the code headers being linked in the side nav
correct too

Example showing working from preview:
https://nx-dev-git-docs-allow-linking-code-headers-nrwl.vercel.app/ci/reference/launch-templates#launchtemplatestemplatenameinitsteps
|
2024-06-20 13:00:26 -05:00 |
|
Jack Hsu
|
9460b86787
|
feat(nx-dev): remove emojis from heading ID (#19194)
|
2023-09-15 13:40:42 -04:00 |
|
Benjamin Cabanes
|
61e1931ded
|
docs(nxdev): remove gray-matter dependency (#11150)
|
2022-07-14 21:57:22 +00:00 |
|
Benjamin Cabanes
|
778f13fdaf
|
docs(nxdev): improve markdown capabilities (#10965)
|
2022-06-30 15:30:38 -04:00 |
|