Skip to content

hotfixes and img tags for relative local files

Latest
Compare
Choose a tag to compare
@blurymind blurymind released this 04 Feb 19:05
· 31 commits to electron since this release
e59a770

This releases a number of regressions that were introduced with the slew of new features, affecting some files with specific connection syntax. For that reason, if you are on 0.3.5 it is highly recommended to upgrade to this, as it fixes:
InfiniteAmmoInc#91
InfiniteAmmoInc#92
InfiniteAmmoInc#93

There is also a new feature! Img tags now not only work, but they also work with local files - relative paths of local files! Yarn will automatically detect if the text between img tags is a file that exists relative to where your yarn file is and if so - it will load it!

So for example if you have myEditedYarnFile.json and myImage.png in the same folder, yarn will render it in the bbcode previewer when you write [img]myImage.png[/img]. If it can't find the file there - it will try to render it as a http link. So online files also work!
To top it all up, a new command will appear in the context menu, whenever you call it between img tags- allowing you to just select the image from your folder - no need to type.
yarn-localimages-choose

Whenever the images are rendered in nodes, they will off course be shrunk to maximum size of 128px
ezgif-1-e90c462274a2