hikerpig / gatsby-project-kb

Developing gatsby-theme-kb, a Gatsby theme for publishing Knowledge Base.
https://gatsby-project-kb.vercel.app/
MIT License
62 stars 15 forks source link

Show backlinks in context #1

Closed Neurrone closed 3 years ago

Neurrone commented 3 years ago

See the backlinks heading on this page for an example of this. The sentence which contained the backlink is rendered to provide more context.

hikerpig commented 3 years ago

Nice proposal, I will try to accomplish this.

hikerpig commented 3 years ago

v0.4.0 has this feature implemented.

Neurrone commented 3 years ago

Thanks!

On the documentation page for the graph view, I see the following backlinks entry:

• graph view: A nice interactive [[graph-view]] visualizing the relationships of your notes.

However, I was expecting this instead (since that is the link from the front page):

• Gatsby knowledge base theme: A nice interactive [[graph-view]] visualizing the relationships of your notes.

I.e, the page title doesn't appear to match.

hikerpig commented 3 years ago

@Neurrone Aha, current behavior is indeed strange 😂. Let me see what I can do.

hikerpig commented 3 years ago

Thanks!

On the documentation page for the graph view, I see the following backlinks entry:

• graph view: A nice interactive [[graph-view]] visualizing the relationships of your notes.

However, I was expecting this instead (since that is the link from the front page):

• Gatsby knowledge base theme: A nice interactive [[graph-view]] visualizing the relationships of your notes.

I.e, the page title doesn't appear to match.

Fixed it in v0.4.1.

hikerpig commented 3 years ago

I shall close this issue since it's been implemented, if anything strange appears, please open another issue.