obsidian-react-components
obsidian-react-components copied to clipboard
documentation: Provide simple examples of using the obsidian api
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
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?
I would love those examples too!