โ06-03-2024 03:08 AM - edited โ06-03-2024 03:09 AM
Hi has anyone else tried to include checkboxes in markdown cells in databricks notebook?
I believe I followed the correct way for checkbox: - [ ] and - [x]
but the result I got is still no checkboxes.
Please help! Thanks!
%md
#to do:
- [x] static variable
- [ ] input
- [ ] opeartion
- [ ] project life financial calc
โ08-06-2024 01:01 AM - edited โ08-06-2024 01:02 AM
Hi all, it's basic markdown only + tables. Checkmarks are not supported. I use the basic section of this cheat sheet when I inevitably forget the syntax: https://www.markdownguide.org/cheat-sheet/#basic-syntax
โ06-13-2024 02:07 AM
Hi thanks for the reply however it does not solve the problem. Although used the right syntax, I still cannot see checkboxes rendered correctly in my Databricks notebook, see the screenshot.
โ08-05-2024 06:08 PM
Also doesn't work for me, they just render as dot points.
โ08-06-2024 01:01 AM - edited โ08-06-2024 01:02 AM
Hi all, it's basic markdown only + tables. Checkmarks are not supported. I use the basic section of this cheat sheet when I inevitably forget the syntax: https://www.markdownguide.org/cheat-sheet/#basic-syntax
โ08-06-2024 01:53 AM
Thanks for the answer - hope databricks can improve their support of markdown in the future
โ08-08-2024 02:18 AM
@teaholic could you explain a bit more about what the check marks are for and how you'd like to use them? I'd like to pass the feedback onto our product teams, but I know the first question I'll get from them is "can you tell me more about the use case?"
โ08-08-2024 04:50 AM - edited โ08-08-2024 04:51 AM
Hi @teaholic ,
If you really need this feature you can install ipywidgets library and use it as below:
from ipywidgets import Checkbox
mycheckbox_1 = Checkbox(description="Task 1 status")
mycheckbox_2 = Checkbox(description="Task 2 status")
display(mycheckbox_1)
display(mycheckbox_2)
โ08-08-2024 08:09 AM
Raised with the product team, I can't promise any timelines, but a few of the engineers think this might be a fun one for their next hackathon
โ09-04-2024 06:18 AM
Hi @teaholic
I faced the same problem and found the
โ09-09-2024 02:37 PM
Thanks, thatโs a simple and practical solution!
Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโt want to miss the chance to attend and share knowledge.
If there isnโt a group near you, start one and help create a community that brings people together.
Request a New Group