Nicholas C. Zakas on Nostr: Working on Markdown linting is interesting because Markdown doesn't really have the ...
Working on Markdown linting is interesting because Markdown doesn't really have the concept of invalid syntax.
There's recognized syntax, which gets transformed, but then anything that isn't recognized is just treated as text.
So to find potential errors, you have to reparse parts of the text.
Published at
2024-07-29 17:38:41Event JSON
{
"id": "0c9be20e0bab597f03c39d02a0929ee775a07a5215da362600f87b8245e59b20",
"pubkey": "21cc6d0e6d238b9fdf58bc25d6f83c4fd7b90e12497a6fc5b655b0f5bebaef6e",
"created_at": 1722274721,
"kind": 1,
"tags": [
[
"proxy",
"https://fosstodon.org/users/nzakas/statuses/112870996152753804",
"activitypub"
]
],
"content": "Working on Markdown linting is interesting because Markdown doesn't really have the concept of invalid syntax.\n\nThere's recognized syntax, which gets transformed, but then anything that isn't recognized is just treated as text. \n\nSo to find potential errors, you have to reparse parts of the text.",
"sig": "83159d5067c8f9fbc50d851a9b118be55a206d513c4c8f6b241b7705d875c14a4cec787ff32545e6f559b418aa5833a2abf1fe538eb896ad5696c86ee0dc0ad1"
}