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

Feature suggested: transclusion and embeding of Notes, Sections and Blocks #54

Open
LeiYanhua opened this issue Oct 19, 2022 · 3 comments

Comments

@LeiYanhua
Copy link

LeiYanhua commented Oct 19, 2022

Thanks to peter and all other contributors.

I would like to suggest transcluding and embeding Notes, Sections and Blocks. In Obsidian, the said transclusion is as follows, with a ! mark before [[ for embeding:

[[source note]] or [[source note| aliases]]
[[source note # section]] or [[source note #section | aliases]]
[[source note #^ block]] or [[source note #block | aliases]]

As for transcluding notes (and for popview as an additional most-appreciated feature) suggested in #48 , @rockmanvnx6 has done great work.

As for the suggested features here-in, I am not sure whether or not they can be achieved in the following ways:

  1. fetch the source note , as been done by @rockmanvnx6,
  2. seach the section or block (or block ID) in the fetched note
  3. merge the content of the said section or block and display it in the webpage.

Unfortunately, any programming skills are out of my reach. What I can do is nothing but suggesting the feature and expecting community members' contribution.

Thanks again!

@rockmanvnx6
Copy link

I'll see if i can integrate this feature in #48. I personally don't use block and section feature that much and wasn't aware of this functionality.

Will give you update on this issue, keep an eye on this.

@rockmanvnx6
Copy link

rockmanvnx6 commented Nov 25, 2022

Hey @LeiYanhua I have updated my PR now support block id.

Example: https://swe.auspham.dev/docs/aws-certified-developer-dva-c01/aws-security-and-encryption/aws-kms-limitations/, hover on Data Key Caching

If you visited my website before, make sure to clear all the caching

@LeiYanhua
Copy link
Author

awesome !

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

No branches or pull requests

2 participants