From c376f68e20d10cce4cfda76c8548f81069cada63 Mon Sep 17 00:00:00 2001 From: GitHub Actions Bot <> Date: Thu, 7 Mar 2024 23:22:05 +0000 Subject: [PATCH] New/Modified Toots --- 108227502346088927.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/108227502346088927.md b/108227502346088927.md index daf090d..a8dacc8 100644 --- a/108227502346088927.md +++ b/108227502346088927.md @@ -1,5 +1,5 @@ --- -{"id": "108227502346088927", "in_reply_to_id": "108227419374120197", "in_reply_to_account_id": "108225902257930629", "sensitive": false, "spoiler_text": "", "visibility": "public", "language": "en", "replies_count": 0, "reblogs_count": 0, "favourites_count": 1, "edited_at": null, "reblog": null, "application": null, "account": {"id": "108219415927856966", "username": "brozek", "acct": "brozek", "display_name": "Brandon Rozek", "url": "https://fosstodon.org/@brozek", "uri": "https://fosstodon.org/users/brozek", "avatar": "https://cdn.fosstodon.org/accounts/avatars/108/219/415/927/856/966/original/bae9f46f23936e79.jpg", "avatar_static": "https://cdn.fosstodon.org/accounts/avatars/108/219/415/927/856/966/original/bae9f46f23936e79.jpg", "header": "https://fosstodon.org/headers/original/missing.png", "header_static": "https://fosstodon.org/headers/original/missing.png", "noindex": true, "roles": []}, "media_attachments": [], "mentions": [{"id": "108225902257930629", "username": "gigantos", "url": "https://s.gigantos.net/@gigantos", "acct": "gigantos@s.gigantos.net"}], "tags": [], "emojis": [], "card": {"url": "https://carbon.now.sh/", "title": "Carbon", "description": "Carbon is the easiest way to create and share beautiful images of your source code.", "language": "en", "type": "link", "author_name": "", "author_url": "", "provider_name": "", "provider_url": "", "html": "", "width": 1200, "height": 630, "image": "https://cdn.fosstodon.org/cache/preview_cards/images/000/089/742/original/ee33aa0542f53f39.png", "image_description": "", "embed_url": "", "blurhash": "U12Yh9j@07azj@fQazfQ06az~jj@WXjtoJaz", "published_at": null}, "poll": null, "syndication": "https://fosstodon.org/@brozek/108227502346088927", "date": "2022-05-01T15:57:09.073Z"} +{"id": "108227502346088927", "in_reply_to_id": "108227419374120197", "in_reply_to_account_id": "108225902257930629", "sensitive": false, "spoiler_text": "", "visibility": "public", "language": "en", "replies_count": 0, "reblogs_count": 0, "favourites_count": 1, "edited_at": null, "reblog": null, "application": null, "account": {"id": "108219415927856966", "username": "brozek", "acct": "brozek", "display_name": "Brandon Rozek", "url": "https://fosstodon.org/@brozek", "uri": "https://fosstodon.org/users/brozek", "avatar": "https://cdn.fosstodon.org/accounts/avatars/108/219/415/927/856/966/original/bae9f46f23936e79.jpg", "avatar_static": "https://cdn.fosstodon.org/accounts/avatars/108/219/415/927/856/966/original/bae9f46f23936e79.jpg", "header": "https://fosstodon.org/headers/original/missing.png", "header_static": "https://fosstodon.org/headers/original/missing.png", "noindex": true, "roles": []}, "media_attachments": [], "mentions": [{"id": "108225902257930629", "username": "gigantos", "url": "https://s.gigantos.net/@gigantos", "acct": "gigantos@s.gigantos.net"}], "tags": [], "emojis": [], "card": {"url": "https://carbon.now.sh/", "title": "Carbon", "description": "Carbon is the easiest way to create and share beautiful images of your source code.", "language": "en", "type": "link", "author_name": "", "author_url": "", "provider_name": "", "provider_url": "", "html": "", "width": 1200, "height": 630, "image": "https://cdn.fosstodon.org/cache/preview_cards/images/000/089/742/original/ab47ca1d1ff798dd.png", "image_description": "", "embed_url": "", "blurhash": "U12Yh9j@07azj@fQazfQ06az~jj@WXjtoJaz", "published_at": null}, "poll": null, "syndication": "https://fosstodon.org/@brozek/108227502346088927", "date": "2022-05-01T15:57:09.073Z"} --- {{< unsafe >}}

@gigantos Browsing around I found this cool open source application for creating nice looking code images

Carbon: carbon.now.sh/

This can output both as PNG and SVG, though sadly it doesn't look like Mastodon supports SVGs. As you mentioned before, the best bet is likely to have the code in the alt image.