Manjunath Mohan
2024-06-19 09:57:27 +05:30
parent 0a91156191
commit e8dfdfe528
2 changed files with 3 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
{{ $url := .Get "url" }}
{{ $type := .Get "type" }}
{{ with resources.GetRemote (printf $url) }}
{{ with resources.GetRemote (urls.Parse $url) }}
{{ $codeBlock := printf "```%s\n%s\n```" $type .Content }}
{{ $codeBlock | markdownify }}
{{ else }}