smithtimmytim/brightlycolored.org

View on GitHub
_posts/2016-11-15-switching-back-to-kramdown.md

Summary

Maintainability
Test Coverage
---
title: Switching Back to Kramdown
date: 2016-11-15 16:42:00 -06:00
tags:
- development
- Jekyll
- Markdown
custom_type: post
subtitle: Quick update on my markdown woes.
---

I've written previously on [switching to Redcarpet to process markdown](/2015/12/switching-to-redcarpet/). Since then, I was determined to find out if I could do the same thing with [Kramdown](https://github.com/gettalong/kramdown) since it's already a dependency of [Jekyll](http://jekyllrb.com/).[^sidenote]

Turns out, that writing Github Flavored Markdown is super easy with Kramdown. So easy in fact, that I don't understand how I didn't figure this out earlier. Here are the markdown-related lines in my `_config.yml`:

```yaml
# Markdown Rendering
markdown: kramdown
markdown_ext:  markdown,mkdown,mkdn,mkd,md,mdown

kramdown:
  input: GFM
```

That's it! No additional gems to install or nothing. In fact, if you were using Redcarpet, you should delete it from your `Gemfile`.

Happy Jekyll-ing!


[^sidenote]: I try as much as I can to minimize the dependencies needed to run this site. This site is for fun at the end of the day, but if I can remove things that do the same exact thing, I want to.