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 Request]Dice roller blocks by tag or keyword #9

Closed
Quorafind opened this issue Jul 19, 2021 · 4 comments · Fixed by #10
Closed

[Feature Request]Dice roller blocks by tag or keyword #9

Quorafind opened this issue Jul 19, 2021 · 4 comments · Fixed by #10
Assignees

Comments

@Quorafind
Copy link

If you want to combine dataview api with dice roller, the new feature could be stronger that because I have many notes tagged the same tag, and they are in same topic.

I think it will be nice to have a dice: 1d#tag or dice: 1d|Keyword, which will be fantastic for me.

@valentine195
Copy link
Member

Just to be clear, #tag would look at multiple files at the same time, right?

@Quorafind
Copy link
Author

@valentine195 Yep, one block from multiple files(random twice?), is it doable?

@valentine195
Copy link
Member

Ohh okay, so not random from EITHER file, but a separate result from BOTH (or however many). Basically, same as making multiple dice rollers.

Should be doable, let me do some testing.

@valentine195 valentine195 self-assigned this Jul 19, 2021
valentine195 added a commit that referenced this issue Jul 19, 2021
- Fixes #9 - can now do random blocks by tag
- Can now specify section type to return using `dice: [[Note]]|type` or `dice: #tag|type`
- Can now roll multiple sections of a note
@valentine195 valentine195 mentioned this issue Jul 19, 2021
@valentine195
Copy link
Member

Hi, 5.1.0 added this feature. Please see the Readme.

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

Successfully merging a pull request may close this issue.

2 participants