stargrey / obsidian-better-codeblock

Add title, line number to Obsidian code block
MIT License
109 stars 10 forks source link

I can't get this to work at all #29

Closed sahi1l closed 10 months ago

sahi1l commented 10 months ago

Hi! I'm pretty new to Obsidian so I may be doing something wrong. I installed this plugin through Obsidian (though I did then double-check that everything was in the .obsidian plugins folder as described in your "manual install" section). Under Community Plugins I have Restricted Mode turned off, and "Better CodeBlock" is listed at the bottom and it is turned on. The settings are the default. And yet when I type in the Hello World example from your README page, absolutely nothing happens: no line number, no title, no highlighting. Specifically, the first line of my codeblock starts with three backticks followed by JAVA TI:"Hello World" HL:"3"

I am running Obsidian v1.4.16 on a Mac. I have tried quitting and restarting Obsidian, and closing and reopening the Vault in question.

Is there something I'm missing? Thanks.

sahi1l commented 10 months ago

And of course three minutes later I figure it out; the numbers etc only show up in Reading mode, not Live Preview mode. Well, someone else might have been wondering that too....