Merge branch 'dev' into 1474-long-tocs-not-shown-fully

This commit is contained in:
Nuno Coração 2024-06-19 17:23:50 +01:00 committed by GitHub
commit 2245ef7ac5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 23 additions and 4 deletions

View file

@ -14,7 +14,7 @@ body.zen-mode-enable {
}
}
/*! tailwindcss v3.4.3 | MIT License | https://tailwindcss.com */
/*! tailwindcss v3.4.4 | MIT License | https://tailwindcss.com */
/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)

View file

@ -664,5 +664,24 @@
"Software Developer",
"Videogame Developer"
]
},
{
"title": "MEM v ENNBEE",
"url": "https://memv.ennbee.uk/",
"source": "https://github.com/ennnbeee/ennnbeee.github.io",
"tags": [
"Technology Blog",
"Personal site"
]
},
{
"title": "Joshua Blais",
"url": "https://joshblais.com/",
"source": "n/a",
"tags": [
"Personal Site",
"Author",
"Digital Garden"
]
}
]

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 }}

View file

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