Building a Simple Blog in Clojure: Listing and Rendering Markdown Posts
This final installment of a Clojure series for beginners shows how to build a basic blog. It explains creating a posts folder containing Markdown files, with a plain text file included to demonstrate filtering. The tutorial walks through listing those files in the REPL and using a filter to keep only the .md entries. It then introduces the threading macro ->> to make the chained steps easier to read, and strips the extensions to produce URL-friendly slugs. The remaining steps, such as converting Markdown to HTML and serving individual posts, are left for later.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in