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

Functionality of the dataviewjs scripts in the plugin #4

Open
Prakhargarg-2010196 opened this issue May 26, 2024 · 2 comments
Open
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@Prakhargarg-2010196
Copy link

To allow serialising the dataviewjs scripts in the obsidian for more complex functionalities

Example snippet(but it can vary):

// asc : for ascending order
let pages =dv.pages("#moc").file.name.sort(page=>page,'asc')
for (let page of pages){
	dv.paragraph(`- [[${page}]]`)
}
@Prakhargarg-2010196
Copy link
Author

To allow serialising the dataviewjs scripts in the obsidian for more complex functionalities

Example snippet(but it can vary):

// asc : for ascending order
let pages =dv.pages("#moc").file.name.sort(page=>page,'asc')
for (let page of pages){
	dv.paragraph(`- [[${page}]]`)
}

The code part has to be enclosed in the ```dataview

@dsebastien
Copy link
Owner

Hello,

Honestly I don't think I'll be able to work on this. It's a cool idea, but it would require much more work. Although, I'll keep the ticket open because it would be great to have. Contributions are welcome!

@dsebastien dsebastien added enhancement New feature or request help wanted Extra attention is needed labels Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants