/jekyll_pilcrow_converter

Add pilcrow links to paragraphs

Primary LanguageRubyMIT LicenseMIT

This is a converter for Jekyll sites that adds a pilcrow anchor link to the beginning of paragraphs.

With this converter, this markdown

This is a paragraph!

...generates this HTML...

<p id='123abc'>
  <a href='#123abc' class='pilcrow'></a>
  This is a paragraph!
</p>

To add this to your Jekyll site, just add this to your Gemfile and you're set:

group :jekyll_plugins do
  gem 'jekyll_pilcrow_converter'
end

You can build the example site in this repo to see the converter in action.