mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-11-06 19:19:21 +00:00
✨ External Markdown Importer Shortcode
This commit is contained in:
1 parent
88731e553b
commit
2fc94cb599
2 files changed
+31
No files matched your search
@@ -0,0 +1,6 @@
|
||||
{{ $url := .Get "url"}}
|
||||
{{ with resources.GetRemote (printf $url) }}
|
||||
{{ .Content | markdownify }}
|
||||
{{ else }}
|
||||
{{ errorf "Mardown Importer Shortcode - Unable to get remote resource" . }}
|
||||
{{ end }}
|
||||
Reference in new issue
Block a user