Why Nostr? What is Njump?
2024-08-16 07:16:23

Terence Eden on Nostr: An #HTML question for you fine folk. Should the `lang` attribute be used to indicate ...

An #HTML question for you fine folk.

Should the `lang` attribute be used to indicate computer programming languages?

For example
`<code lang="python">…</code>`

I know that the spec says it should be a valid BCP 47 language tag. But I wonder if that limitation is still useful.

What other semantic ways are there of indicating the programming language of a code snippet?
Author Public Key
npub1lh05slh2nk6h5m3jp7qwtjmrmegtah6nj626g8qdg3a7ds3kg0ss9aa5ll