diff --git a/108227502346088927.md b/108227502346088927.md index 219c598..0ecae90 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}, "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/30c80d83c51e89fa.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}, "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/5c1da6abe71bc65f.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.