How to think small in coding

Derek McDaniel
1 min readApr 22, 2020

The coding project which I am most proud of, https://github.com/derekmc/markjs, is only 46 lines of code.

It is a javascript library, that converts a few of the most basic markdown tags into html.

This project is certainly not unique, there are many tools and libraries for
converting markdown to html, but what I like about my implementation,
is it is nice for both coders and users. It is super obvious how the code works. It merely performs a handful of regular expression substitions.

--

--