obsidian-code-block-from-selection icon indicating copy to clipboard operation
obsidian-code-block-from-selection copied to clipboard

Questioning the existence of this plugin...

Open 4r7if3x opened this issue 3 years ago • 1 comments

I'm not sure why this plugin exists since it's already possible to type ``` after selecting a block of text in any (AFAIK) Markdown editor, and it would be converted into a block of code automatically.

4r7if3x avatar Aug 02 '22 14:08 4r7if3x

I found this useful. Copy/paste some unformatted text and then select the portions that are code and run this command. Way easier that typing the ``` at top and bottom.

With Obsidian (at least for me, in the current version) selecting a block of text and typing ``` makes the block disapear and be substituted with ```.


Edit: Interesting, tried again and typing ``` does work, but not always.

joaonc avatar Jan 02 '23 17:01 joaonc