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?