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?
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! ;-)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With