Files
blowfish/layouts/shortcodes/mdimporter.html
2024-06-19 09:57:27 +05:30

7 lines
199 B
HTML

{{ $url := .Get "url"}}
{{ with resources.GetRemote (urls.Parse $url) }}
{{ .Content | markdownify }}
{{ else }}
{{ errorf "Mardown Importer Shortcode - Unable to get remote resource" . }}
{{ end }}