The documentation of the directives is lacking a complete @image example to display an image in viewrendered? Complete means:
- node with header: @image ...
- body text
I have file named
D:/Projekte/Leo/DependencyLabelScheme.png
that I want to display in viewrendered.
I tried in vain:
header:
@image file:///D:/Projekte/Leo/DependencyLabelScheme.png
body:
(empty)
header:
@image
body:
<img src="file:///D:/Projekte/Leo/DependencyLabelScheme.png"/>
With Alt+0, I get either an empty vierendered pane or a 'file not found' error.
As this is an absolute path this shouldn't happen.
Variants with some name after '@image' in the header or '@language md' at the top of the body don't work either.
After two hours of trying various complicated header-body combinations I finally found the simple solution here:
It would be nice if this would be added to the directives reference.
Reinhard