From ae74c31a931e257da8335565e92e6b96f00dc48e Mon Sep 17 00:00:00 2001 From: GitHub Actions Bot <> Date: Sat, 22 Apr 2023 23:20: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 4eb6f82..387943d 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", "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.", "type": "link", "author_name": "", "author_url": "", "provider_name": "", "provider_url": "", "html": "", "width": 400, "height": 210, "image": "https://cdn.fosstodon.org/cache/preview_cards/images/000/089/742/original/457cc84542117e2e.png", "embed_url": "", "blurhash": "U12FVtj@4tWWj@fQazfQ07az^|oKWDjtodaz"}, "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", "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.", "type": "link", "author_name": "", "author_url": "", "provider_name": "", "provider_url": "", "html": "", "width": 400, "height": 210, "image": "https://cdn.fosstodon.org/cache/preview_cards/images/000/089/742/original/9c8befe10f4d9d23.png", "embed_url": "", "blurhash": "U12FVtj@4tWWj@fQazfQ07az^|oKWDjtodaz"}, "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: https://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.