Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tags parsing and it's view #5

Open
hikerpig opened this issue Feb 23, 2021 · 4 comments
Open

Add tags parsing and it's view #5

hikerpig opened this issue Feb 23, 2021 · 4 comments
Labels

Comments

@hikerpig
Copy link
Owner

Similar to Foam's tag support

  • adding a #tag anywhere in the text of the note
  • using the tags: tag1, tag2 property in frontmatter
@hikerpig hikerpig added the enhancement New feature or request label Feb 23, 2021
@flashshare
Copy link

@hikerpig Is it possible to add tags page by Shadowing some components of gatsby-project-kb?
I tried to follow the tutorial in this website How to add tags to gatsby-theme-blog?
but at the end I have to modify gatsby-node.js, which is too complicated!

@hikerpig
Copy link
Owner Author

hikerpig commented Sep 4, 2021

@flashshare I'm afraid so, it's more than just the UI change. This can not be done without tackle into markdown parsing process, I have not found a remark plugin or so back then, so this has been in the backlog for a while now.

@hikerpig
Copy link
Owner Author

hikerpig commented Sep 4, 2021

@flashshare More specifically.
If you don't need to support the Obsidian style #tag in plaintext, and can be settled with old-fashioned frontmatter tags, the markdown parsing part can be skipped.

But of course, a little change of gatsby-node.js and src/use-graph-data.ts is inevitable.

I didn't implement this because personally I found that not very useful in my situation. I tended to use an index page and searching rather than old fashioned tags page, since this is a wiki theme, not entirely designed for blogs.

@flashshare
Copy link

@hikerpig The tags function is nice if we have it in the our website. I agree with you it's not really necessary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants