Howto:Extend the Canvas SVG module: Difference between revisions

Jump to navigation Jump to search
m
→‎tag: use fgdataa template
m (→‎tag: use fgdataa template)
Line 60: Line 60:
</syntaxhighlight>
</syntaxhighlight>


By default, the svg parser will bail out with a message saying '''Skipping unknown element image'''. Thus, we need to open $FG_ROOT/Nasal/canvas/svg.nas and navigate to the line where that error is triggered:
By default, the svg parser will bail out with a message saying '''Skipping unknown element image'''. Thus, we need to open {{Fgdata file|Nasal/canvas/svg.nas}} and navigate to the line where that error is triggered:


<syntaxhighlight lang="nasal">
<syntaxhighlight lang="nasal">

Navigation menu