obsidian-react-components icon indicating copy to clipboard operation
obsidian-react-components copied to clipboard

documentation: Provide simple examples of using the obsidian api

Open airtonix opened this issue 2 years ago • 2 comments
trafficstars

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

airtonix avatar Feb 27 '23 05:02 airtonix

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?

johtso avatar Mar 20 '23 19:03 johtso

I would love those examples too!

objectiveSee avatar Dec 03 '23 17:12 objectiveSee