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

render_cell(value) plugin hook #352

Closed
simonw opened this Issue Jul 30, 2018 · 3 comments

Comments

Projects
None yet
1 participant
@simonw
Copy link
Owner

simonw commented Jul 30, 2018

To allow plugins to customize how values matching a specific pattern are displayed in the HTML table view.

@simonw

This comment has been minimized.

Copy link
Owner Author

simonw commented Aug 1, 2018

The hook is currently only used on the custom SQL results page - it needs to run on table/view pages as well.

simonw added a commit that referenced this issue Aug 5, 2018

@simonw simonw closed this in #353 Aug 5, 2018

simonw added a commit that referenced this issue Aug 5, 2018

render_cell(value) plugin hook, closes #352
New plugin hook for customizing the way cells values are rendered in HTML.

The first full example of this hook in use is https://github.com/simonw/datasette-json-html
@simonw

This comment has been minimized.

Copy link
Owner Author

simonw commented Aug 5, 2018

@simonw simonw added this to the Next release milestone Aug 5, 2018

@simonw

This comment has been minimized.

Copy link
Owner Author

simonw commented Aug 6, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.