-
Notifications
You must be signed in to change notification settings - Fork 26
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
How to use functions in codeblocks? #81
Comments
I think the following should work: { id: "Name", value: page => page.$link.withDisplay(page.value("title"))} |
It worked. But isn't there any way to use functions listed in the documentation directly? |
There is not, at the moment. To be used from the code block, these functions should be exported from the API, similar to how dv.func works in dataview. However, this is not the case with datacore. |
It will be really nice if these gets exported. It will open up so much possibilities! |
How to use functions (e.g.
link
) in codeblocks so that I can transform data from some columns as I wish. For example:In this block, the
link
doesn't work. I trieddc.link
too with no success.The text was updated successfully, but these errors were encountered: