GitHub Blocks

GitHub Blocks

GitHub launched a new Blocks platform in experimental techical preview. Blocks tells GitHub how to render selected file or directory. You may choose from list of available blocks or create your own. Technically, they work as a React JSX (or TSX) components, rendered in iFrame. Note that such blocks can be embedded in any Markdown file.


I made a simple block for rendering Graphviz DOT files. It uses graphviz-wasm package to run WASM port of Graphviz in browser 🤯.



Update 2023-12-15: The Blocks technical preview ended.