Zuletzt aktualisiert am

About: The "Code" attribute

We make good use of the "code" attribute to increase the readability of our tech-heavy articles. And we couldn't help recognizing that some folks have taken a page out of our book. So here is what the "code" attribute is good for.

The code attribute is a very nice way to present certain things that are common in tech news, but uncommon in general texts. We are speaking things like /user/path/to/whatever or some.awesome.qt.function. Those things are hard to decode for a human brain, but you can make the recipients' processing way smoother by codifying unusual stuff. For this allows the brain to "cheaply" skip over those framed objects instead of decoding every syllable of it, sharply reducing cerebral cost.

Also, it allows your readers to easily skim over paragraphs, since framed objects stand out very much - indeed, even much more so than bold or italic text. Which is especially useful for things like This Week in KDE Apps - simply because nobody is using all the apps. Hence a cheap skipping opportunity seems advisable.

So, if you intend to write about tech-heavy stuff, consider making good use of the code attribute, since it will reduce your readers' cost and make for a way smoother reading.

A comment by s3n🧩net

Comments