Sha256: 1f3748a894ed825211c970451ca62fc864ab239c3526ce407173075b40dae71d
Contents?: true
Size: 290 Bytes
Versions: 25
Compression:
Stored size: 290 Bytes
Contents
require "makeup" module Recruiter module MarkdownHelper def to_markdown(text) sanitize(renderer.render("file.md", text).html_safe) end def renderer @md_renderer ||= Makeup::Markup.new( highlighter: Makeup::SyntaxHighlighter.new ) end end end
Version data entries
25 entries across 25 versions & 1 rubygems