obsidian-card-note icon indicating copy to clipboard operation
obsidian-card-note copied to clipboard

Auto split bullet list into separate cards

Open macin opened this issue 2 years ago • 8 comments

Hi, on top of my previous suggestion, have you considered splitting the list into cards, i.e. as many cards as bullets in the list? That would be a huge time saver :)

macin avatar Apr 13 '24 14:04 macin

Sorry for replying so late. Do you mean using the command to split the list into cards or by the drag action?

cycsd avatar May 06 '24 16:05 cycsd

@cycsd automatically :) that could work for the lists initially (ordered or unordered, or maby paragraphs to start with :)

macin avatar May 06 '24 17:05 macin

When to trigger this automatic action? Or what's the user event to trigger this action?

cycsd avatar May 07 '24 14:05 cycsd

@cycsd It could either be here image a checkbox, or an option of the plugin in settings to "split into separate cards" by paragraphs/list or, maybe the best would be a button indicating cut and split

I would go for simple result, i.e name the cards as number 1, 2, 3.. depending on how many paragraphs/bullets are included, alternatively random, with suffix -1, -2, -3 ... indicating the number of paragraph/list element. Why do we need file name if we just cut the content?

If file name was optional, then when I do just the content cutting I would not have to worry about the correct file name... just a hint.

macin avatar May 07 '24 15:05 macin

I have the same requirement as you. Cuz sometimes I collect many cards from other software like Zotero in markdown format, and then I'd like to break this md file into cards to re-organize them on a whiteboad.

tociyou1995 avatar Jul 10 '24 06:07 tociyou1995

@macin I know another plugin called "cardify" can realize what you want, but it just doesn't work on my ob and I couldn't figure out why. Maybe you can try throug this link https://github.com/joshuakto/obsidian-cardify or directly serach "cardify" in your ob.

tociyou1995 avatar Jul 10 '24 06:07 tociyou1995

@tociyou1995 sorry for the delayed reply. I tested out cardify and it only works on files. I'd prefer to work on the canvas instead of creating files for every piece of note. So I'd have to wait for @cycsd solution on this :)

macin avatar Sep 22 '24 11:09 macin

Hi @cycsd, just wanted to check how things are going. Did you have a chance to look into this one?

macin avatar Sep 27 '24 21:09 macin