Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 425 Bytes

README.rdoc

File metadata and controls

19 lines (13 loc) · 425 Bytes

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