Files
dokku/tests/apps/multi/generate_content.rb
Jose Diaz-Gonzalez be14329b9a chore: bump dependencies in tests/apps/multi
While not in the build path, we should try and avoid unsupported dependencies where possible.
2026-04-14 03:14:11 -04:00

11 lines
292 B
Ruby

require 'kramdown'
input_path = File.join(__dir__, 'content.md')
output_path = File.join(__dir__, 'templates', 'content.html')
markdown = File.read(input_path)
html = Kramdown::Document.new(markdown).to_html
File.write(output_path, html)
puts "Generated #{output_path} from #{input_path}"