Andrew Helwer on Nostr: Sunday project: script modifications to a giant markdown table embedded in a ...
Sunday project: script modifications to a giant markdown table embedded in a project's README.md using a python markdown parser package. Mostly smooth sailing other than parser insisting on aggressively removing whitespace in its markdown output, leading to a bug where text immediately after a list is included in the final element of that list.
#python #markdown
Published at
2024-01-14 23:21:42Event JSON
{
"id": "f02995887e4b35590090d40a4800b6a2bb340f3bcee24b436b624f9a3c23a5e2",
"pubkey": "6235fe36d733665c235dbec5983d768400cdb414ea18e0633cfe9d9c1ac6b02d",
"created_at": 1705274502,
"kind": 1,
"tags": [
[
"t",
"python"
],
[
"t",
"markdown"
],
[
"proxy",
"https://fosstodon.org/users/ahelwer/statuses/111756869823653054",
"activitypub"
]
],
"content": "Sunday project: script modifications to a giant markdown table embedded in a project's README.md using a python markdown parser package. Mostly smooth sailing other than parser insisting on aggressively removing whitespace in its markdown output, leading to a bug where text immediately after a list is included in the final element of that list.\n\n#python #markdown",
"sig": "0834d27a467a4ac50a8dcb37f1390d6978c01cbe040496815dc975fa392aefad2647ddf92b63464ccc962b96f80949d6be468c0be5967fbae7502747c65d1d68"
}