Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to use Kramdown in GitLab

I haven't found the instruction how to change GitLab's RedCarpet to Kramdown. on Kramdown I have found how to install it:

sudo apt-get install ruby
sudo gem install kramdown

But the Usage page was absolutly non-understandable for me

require 'kramdown'
puts Kramdown::Document.new(text).to_html

What is language? Where I have to write it?

like image 713
You Care Avatar asked Nov 09 '22 10:11

You Care


1 Answers

For those landing on this old question, GitLab migrated from RedCarpet to Kramdown as its Markdown engine with the 11.5 release (2018-11-22). Enjoy! ;-)

like image 115
David Planella Avatar answered Nov 15 '22 09:11

David Planella