You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue is when I map a single markdown file in multiple headers for the purpose of reuse content at multiple places, In the final document navigation when I select the file at multiple places the highlighted section jumps back to the last occurance.
To explain it better, lets say I have created a Getting Authentication markdown file. Now this same file can be used for customer A and B. In the nav.yml file i have created two sections one for customer A and other for B. The same file is referenced in both A and B.
Now in final document after gatsby develop. In nav panel when I select the Getting Authentication page, the selection in nav panel jumps to the one listed in customer B.
So, wanted to check if this is the default feature of gatsby? And how can we link same file in multiple headers for ease of updation and single sourcing.
Currently I had to create two different files with different id to prevent it from jumping to next occurrence.
This is important for me as there are lot of files that can be mapped to different tags. It will become a task to update a single thing at multiple places also it will take up lot of space in server for hosting these files.
Please suggest how it can be achieved to refer a file at multiple places in best way.
This discussion was converted from issue #26513 on October 16, 2020 13:05.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
The issue is when I map a single markdown file in multiple headers for the purpose of reuse content at multiple places, In the final document navigation when I select the file at multiple places the highlighted section jumps back to the last occurance.
To explain it better, lets say I have created a Getting Authentication markdown file. Now this same file can be used for customer A and B. In the nav.yml file i have created two sections one for customer A and other for B. The same file is referenced in both A and B.
Now in final document after gatsby develop. In nav panel when I select the Getting Authentication page, the selection in nav panel jumps to the one listed in customer B.
So, wanted to check if this is the default feature of gatsby? And how can we link same file in multiple headers for ease of updation and single sourcing.
Currently I had to create two different files with different id to prevent it from jumping to next occurrence.
This is important for me as there are lot of files that can be mapped to different tags. It will become a task to update a single thing at multiple places also it will take up lot of space in server for hosting these files.
Please suggest how it can be achieved to refer a file at multiple places in best way.
Beta Was this translation helpful? Give feedback.
All reactions