app/models/docthis/page.rb
# Renders the body of the page.
#
# Returns:
#   The rendered HTML of the body.
Renders the body of the page.
Returns:
The rendered HTML of the body.
Renders the body of the page . Returns : The rendered HTML of the body .
def render_body
    @@markdown ||= ::Redcarpet::Markdown.new(
      Docthis::Renderer,
      autolink: true,
      fenced_code_blocks: true)
    @@markdown.render(File.read(@file))
  end
def render_body @@markdown ||= :: Redcarpet :: Markdown . new ( Docthis :: Renderer , autolink : true , fenced_code_blocks : true ) @@markdown . render ( File . read ( @file ) ) end
Renders the body of the page.
Renders the body of the page .