Skip to content

Commit

Permalink
docs: add lastParameters
Browse files Browse the repository at this point in the history
  • Loading branch information
Vinzent03 committed Jan 6, 2023
1 parent d15c7d2 commit 8879b0f
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions docs/docs/tips/from_within_obsidian.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
sidebar_position: 2
---

# From within Obsidian

You can access the query parameters of the last opened Advanced URI via the following:

```js
const lastParameters = app.plugins.plugins["obsidian-advanced-uri"].lastParameters
```

This can be useful to continue processing the URI via the dataview or templater plugin. See [#77](https://github.com/Vinzent03/obsidian-advanced-uri/issues/77) for the initial request and use case.

0 comments on commit 8879b0f

Please sign in to comment.