Multiple Checkboxes? #4233
-
I am pretty new to trilium, and I am wondering if there is a way to have multiple checkboxes on a single line. Essentially, I'm wanting something like: Where the O's are checkable. Is this possible? Thanks for your help! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Hope this helps. The answer is technically "yes", but I am guessing you want more functionality than just showing the stuff. Here is the html to put into a Code-> HTML note: |
Beta Was this translation helpful? Give feedback.
-
Checkboxes in CKEditor are technically lists with each checkbox being one list item. I don't think this would be possible without hacks. |
Beta Was this translation helpful? Give feedback.
The note that contains the code should be in a separate note. Then, the rendering note should be set to type "renderNote" and the renderNote value should be the ID of the child note. (In the earlier post I said "name of the note". Sorry about that)
So:
Note: Code html
Note Type: Code -> HTML
Contents: HTML you want to render
Note: My View
Note Type: RenderNote
Attributes: ~renderNote="[ID of Code html]"
Hope that helps!