Skip to content

26fe/sem4r.com

Repository files navigation

Sem4r.com site

Sem4r use a lightly modified version of Jekyll to had hard break.

License

The contents of the directory _post/ is copyright © Sem4r: Everything else is MIT Licensed.

To modify jekyl to add ‘hard_break’ for RedCloth

Open file: jekyll-0.5.4/lib/jekyll/site.rb, change the ‘textile’ function to:

def textile(content)
  rc = RedCloth.new(content)
  rc.hard_breaks = false
  rc.to_html
end

Releases

No releases published

Packages

No packages published