3 ms·
I started using Obsidian recently and have been using it for markdown checklists. I tried to create collapsible sections, but found that as soon as I enclose a
by nemosaltat 5y ago
I started using Obsidian recently and have been using it for markdown checklists. I tried to create collapsible sections, but found that as soon as I enclose a section with a <details> tag, Markdown rules are no longer applied, so if I want my items on separate lines I need to at <br> tags. It’s not the end of the world, but I’d love a workaround if you’ve found one.
- high_priest 5y ago- "If I want my items on separate lines" What's wrong with - [ ] Text - [ ] Text2
- nemosaltat 5y agoThis works in the raw markdown edit mode, but in preview mode, if I write this: <details> <summary>People</summary> [ ] Bob [ ] Alice [x] Nemosaltat </details> Preview mode will yield this (all on one-line): [ ] Bob [ ] Alice [x] Nemosaltat It’s collapsible, but not visually pleasing for longer lists. My solution has been to do this: <details> <summary>People</summary> [ ] Bob <br /> [ ] Alice <br /> [x] Nemosaltat <br /> </details> But it’s less pleasing to look at in edit mode, and I have to remember to append the break tags.
- hanklazard 5y agoI don’t have a solution for that, but I did just start looking through the large community plugins list — there are a lot that address these types of specific use-cases, so it might be worth a browse: https://github.com/obsidianmd/obsidian-releases/blob/master/community-plugins.json https://github.com/obsidianmd/obsidian-releases/blob/master/...
- hanklazard 5y ago(not able to edit my previous post at this point, but wanted to follow-up for you and anyone else reading this in the furture) I just watched a video for an Obsidian plugin called "Outliner" and I think it does what you're trying to do with collapsible sections. Here's the video, it's the first plugin that he reviews: https://youtu.be/2234DXKbNgM https://youtu.be/2234DXKbNgM