RSSAmplifier

HYBRD Posts · Oct 15, 2021

Table of Contents Helper for Markdown in Middleman

0
Sign in to vote or save

This site does not allow itself to be embedded. You can still read it on the original site — the toolbar below keeps your place in the directory.

For pages on your site with a lot of content, it can be nice to have sidebar navigation with a Table of Contents for the page. If you’re using Middleman with Markdown content, here’s a way you can do that. 1. Use the redcarpet gem to render Markdown for your project. Add the following to your Gemfile and then bundle install : gem 'redcarpet' Redcarpet provides a special renderer ,…

Read on hybrd.co

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.