@mieweb/wikigdrive
Version:
Google Drive to MarkDown synchronization
10 lines (9 loc) • 377 B
HTML
<p class="md__image">
{{ if in (.Destination) ".svg" }}
<object type="image/svg+xml" data="{{ .Destination | absURL }}">
<img src="{{ .Destination | absURL }}" alt="{{ .Text }}" {{ with .Title}} title="{{ . }}"{{ end }} />
</object>
{{ else }}
<img src="{{ .Destination | absURL }}" alt="{{ .Text }}" {{ with .Title}} title="{{ . }}"{{ end }} />
{{ end }}
</p>