summaryrefslogtreecommitdiff
path: root/vendor/bundle/ruby/3.4.0/gems/kramdown-2.5.1/data/kramdown/document.html
diff options
context:
space:
mode:
authorBenjamin Sanders <ben@Benjamins-MacBook-Pro.local>2025-10-11 10:34:24 -0400
committerBenjamin Sanders <ben@Benjamins-MacBook-Pro.local>2025-10-11 10:34:24 -0400
commit5571dc766e2143e39762ff0b47c41d1c2e154f4c (patch)
treef4f124d314a7e76c04484515aa0fd1f2e271a601 /vendor/bundle/ruby/3.4.0/gems/kramdown-2.5.1/data/kramdown/document.html
parent359f3309c97fc894b63e0a295c76ab298504d635 (diff)
Vendor bundled gems for deployment
Diffstat (limited to 'vendor/bundle/ruby/3.4.0/gems/kramdown-2.5.1/data/kramdown/document.html')
-rw-r--r--vendor/bundle/ruby/3.4.0/gems/kramdown-2.5.1/data/kramdown/document.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/vendor/bundle/ruby/3.4.0/gems/kramdown-2.5.1/data/kramdown/document.html b/vendor/bundle/ruby/3.4.0/gems/kramdown-2.5.1/data/kramdown/document.html
new file mode 100644
index 0000000..731d0ea
--- /dev/null
+++ b/vendor/bundle/ruby/3.4.0/gems/kramdown-2.5.1/data/kramdown/document.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <% if @converter.root.options[:encoding] %>
+ <meta http-equiv="Content-type" content="text/html;charset=<%= @converter.root.options[:encoding] %>">
+ <% end %>
+<%
+extend ::Kramdown::Utils::Html
+title = ''
+h = @converter.root.children.find {|c| c.type == :header}
+if h
+ collector = lambda {|c| c.children.collect {|cc| cc.type == :text ? escape_html(cc.value, :text) : collector.call(cc)}.join('')}
+ title = collector.call(h)
+end
+%>
+ <title><%= title %></title>
+ <meta name="generator" content="kramdown <%= ::Kramdown::VERSION %>" />
+ </head>
+ <body>
+ <%= @body %>
+ </body>
+</html>