From 586390a8e43862c00c462a9ceeb744abc279f532 Mon Sep 17 00:00:00 2001 From: GitHub Actions Bot <> Date: Fri, 21 Jul 2023 23:19:22 +0000 Subject: [PATCH] New/Modified Toots --- 108227502346088927.md | 2 +- 110749563934958397.md | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 110749563934958397.md diff --git a/108227502346088927.md b/108227502346088927.md index 2c35f7c..50d8e67 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": null, "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/911acf2f64ef2fe4.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: 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.

diff --git a/110749563934958397.md b/110749563934958397.md new file mode 100644 index 0000000..9164200 --- /dev/null +++ b/110749563934958397.md @@ -0,0 +1,6 @@ +--- +{"id": "110749563934958397", "in_reply_to_id": "110749152965322397", "in_reply_to_account_id": "110692155525572005", "sensitive": false, "spoiler_text": "", "visibility": "unlisted", "language": "en", "replies_count": 0, "reblogs_count": 0, "favourites_count": 2, "edited_at": null, "reblog": null, "application": {"name": "Tusky", "website": "https://tusky.app"}, "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": "110692155525572005", "username": "nathan", "url": "https://social.nathandyer.me/@nathan", "acct": "nathan@social.nathandyer.me"}, {"id": "109158598630696223", "username": "legoktm", "url": "https://wikis.world/@legoktm", "acct": "legoktm@wikis.world"}], "tags": [], "emojis": [], "card": null, "poll": null, "syndication": "https://fosstodon.org/@brozek/110749563934958397", "date": "2023-07-21T01:50:34.846Z"} +--- +{{< unsafe >}} +

@nathan @legoktm Wow! I haven't heard of WikiVoyage before this. It's fun to see Fredericksburg, VA, the small city I used to live in, there. Thanks for sharing!

+{{< /unsafe >}}