Rich Text Editor via jekyll-admin
Being a developer, one can get accostomed to writing in markdown or using HTML tags. However, I feel that markdown is not needed when one has a rich text editor. Let’s see how jekyll-admin can help with that.
Below is a screenshot of Rich Text Editor I used to write this post
Setup up jekyll-admin
This setup need not be commit to git, because this plugin is only needed for only for writing posts locally.
- Install gem
$ bundle add jekyll-admin
- Add plugin to
_config.yml
plugins:
- jekyll-admin
- Run jekyll server and visit localhost:4000/admin
bundle exec jekyll serve
Write a post
- Write your post to your heart’s content
- Ensure that you add
layout
metadata field, otherwise blog page will not render correctly. Additionally, adddate
,categories
,tags
metadata fields as needed - Hit Save
- Click on View to see the rendered blog post
Now, go and write new posts!