Skip to content

Commit

Permalink
dynamic svg file on img src
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanceras committed Nov 4, 2016
1 parent d3eaedd commit b879ef8
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion web/index.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,22 @@
<head>
<meta charset="utf-8" />
<title>SvgBobRus(Ascii to svg converter)</title>

<style>
table{
border-collapse: collapse;
border-spacing: 0;
}
th, td{
border:1px solid #ccc;
padding: 5px;
}
pre {
font-family:monospace;
overflow:auto;
}
</style>

</head>
<body>
<div style="display:flex">
Expand All @@ -10,7 +26,9 @@
{{bob}}
</code>
</pre>
<img src="screenshots/image.svg"/>
<div style="overflow:auto;">
<img src="{{svg_file}}"/>
</div>
</div>

Support this project:
Expand Down

0 comments on commit b879ef8

Please sign in to comment.