dvargas92495 / SmartBlocks

Useful examples from developer community for Roam42 SmartBlocks
147 stars 7 forks source link

Split long text block into one sentence per block #222

Open fbgallet opened 3 years ago

fbgallet commented 3 years ago

📋 Describe the SmartBlock

To read a long text more easily in Roam, or to comment on each sentence separately, it can be useful to split it into sentences, so that each sentence corresponds to a block. To do this, simply run the SmartBlock in the text block: the splitted text is saved in the clipboard, all you have to do is paste it where you want.

✂️ Copy of your #42SmartBlock from Roam

⚠copy/past doesn't work properly with code blocks in Roam, see screenshot below

📷 Screenshot of your #42SmartBlock workflow/template from Roam

image

💡 Additional Info

Demo: parse text to sentences

nanjade commented 3 years ago

Hi , fbgallet Is there any update for SmartBlocks V2 Version?

fbgallet commented 3 years ago

Hi @nanjade , it works on Sb V2. In parent block, just replace #42SmartBlock by #SmartBlock

nanjade commented 3 years ago

Thanks

fbgallet @.***> 于2021年8月8日周日 下午5:12写道:

Hi @nanjade https://github.com/nanjade , it works on Sb V2. In parent block, just replace #42SmartBlock by #SmartBlock

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/dvargas92495/SmartBlocks/issues/222#issuecomment-894767553, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARAQUAHMVEAKE6I4ZQS22KDT3ZDATANCNFSM47HZJTBQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .