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

documentation: Provide simple examples of using the obsidian api #45

Open
6 tasks
airtonix opened this issue Feb 27, 2023 · 2 comments
Open
6 tasks

documentation: Provide simple examples of using the obsidian api #45

airtonix opened this issue Feb 27, 2023 · 2 comments

Comments

@airtonix
Copy link

Rendering react is all good, but let's show some real value by giving some examples of how to interact with the Obsidian API:

  • Render a modal with a form
  • Collecting user input
  • Creating a new note
  • Query the Obsidian Note Graph

Some other basic patterns:

  • async load CDN stylesheet
  • async load CDN scripts
@johtso
Copy link

johtso commented Mar 20, 2023

Would love to see some examples like this! I love the idea of being able to write a page using react, but it's not clear how I hook into the rest of my data. Can I integrate this with dataview for example?

Also, when I render text using my react component, can I make it get interpreted as markdown so that things like links to other pages and hashtag links work?

@objectiveSee
Copy link

I would love those examples too!

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

3 participants