logseq-automatic-linker icon indicating copy to clipboard operation
logseq-automatic-linker copied to clipboard

{{renderer}} replaced with Journal links

Open imJoshuaRice opened this issue 1 year ago • 3 comments

Hi,

I frequently use renderer blocks, for example {{renderer code_diagram,d2,kroki.diagram.theme=300&kroki.diagram.sketch=1&containerStyle=width: 400px}} Unfortunately, if Automatic Linker parses the block - it completely wipes out the block and replaces it (with, for example [[Mar 8th, 2024]])

Are we able to prevent this type of behaviour?

In my context, I am using Diagrams as Code to render diagram blocks. I only started using this again today and all of my diagram blocks are being converted into links to todays journal.

Thanks

imJoshuaRice avatar Mar 08 '24 13:03 imJoshuaRice

I have the same problem. When I use the caliber plug-in, it will be automatically transferred to Jounrals block. There also seems to be no way to bypass the issue by using the pagesToIgnores function.

StrayDogA8 avatar May 10 '24 02:05 StrayDogA8

It seems to happen also to both the {{query}} block as well as the {{video}} block. It would be good if the automatic linker could avoid linking within the {{}} brackets?

conjuror09 avatar May 30 '24 09:05 conjuror09

Yes, this would be amazing.

DontBlameMe99 avatar Dec 28 '24 12:12 DontBlameMe99