Open jumangee opened 7 months ago
I cannot reproduce this bug.
A html-dokument with this code works fine.
<script src="//unpkg.com/graphre/dist/graphre.js"></script>
<script src="//unpkg.com/nomnoml/dist/nomnoml.js"></script>
<script>
var svg = nomnoml.renderSvg(`[<note id=id12735b4d7f8847b> 111]
[<note id=ide0d67858d04d774> 222]
[ide0d67858d04d774] --> [id12735b4d7f8847b]`)
document.write(svg)
</script>
Which browser are you using? Are you at the latest nomnoml version 1.6.2
?
Replace your file's line separator from CRLF to LF and it should work.
Trying to render with:
nomnoml.renderSvg(code)
next code:receiving this error:
but code nicely renders in online app:
Using local nomnoml.js from github repo, but //unpkg.com/nomnoml/dist/nomnoml.js gives same error
What's wrong?