Chronotope’s avatarChronotope’s Twitter Archive—№ 144,518

  1. It’s finally happened. We added support for the diff-___ syntax to version v3.2.2 of our syntax highlighter plugin. (and no, the + and - are not selectable) 11ty.dev/docs/plugins/syntaxhighlight/ Enjoy!
    OpenGraph image for 11ty.dev/docs/plugins/syntaxhighlight/```diff-js
+function myFunction() {
   // …
-  return true;
 }
```

compiles to (where line 1 has a green background with a + and line 3 has a muted red background with a -):

function myFunction() {
  // …
  return true;
}


Search tweets' text