Programming Adventures

with Michał Kalbarczyk

Top Stories

7 Tips for Building Kiosk Device with Nerves and Buildroot

For about a year I’m working on some interesting machine…

Umbrella On Rails

So you want to have a Rails application with few other…

Brewing the firmware for Raspberry PI with Elixir and Nerves

As the PIX PROJECT started to be a real thing. I decided to…

The Beginner’s Guide to Linux Kernel Module, Raspberry Pi and LED Matrix

When I found an old broken bluetooth speaker with RGB LED…

Definitive guide to Rust, SDL 2 and Emscripten!

So, you want to write a game? And run it in the browser? Do…

Learning Tensorflow with Crystal

Crystal bindings for Tensorflow

In this article I’d like to…

Last Learned

Don't eclose markdown content into <p> tag

If you are using for example Gatsby like I do, don't enlose html from markdown into <p> tag. The content of <p> will be missing in some cases. Anyway<p> should not include any block elements such as <p>.

Instead of:

<p className="article-post" dangerouslySetInnerHTML={{ __html: html }} />


<div className="article-post" dangerouslySetInnerHTML={{ __html: html }} />