lib/asciidoctor/csand/converter.rb in asciidoctor-csand-0.3.2 vs lib/asciidoctor/csand/converter.rb in asciidoctor-csand-0.3.3
- old
+ new
@@ -110,14 +110,10 @@
content_validate(doc)
schema_validate(formattedstr_strip(doc.dup),
File.join(File.dirname(__FILE__), "csand.rng"))
end
- def html_doc_path(file)
- File.join(File.dirname(__FILE__), File.join("html", file))
- end
-
def literal(node)
noko do |xml|
xml.figure **id_attr(node) do |f|
figure_title(node, f)
f.pre node.lines.join("\n")
@@ -143,9 +139,13 @@
headerfont: node.attr("header-font"),
monospacefont: node.attr("monospace-font"),
titlefont: node.attr("title-font"),
i18nyaml: node.attr("i18nyaml"),
scope: node.attr("scope"),
+ htmlstylesheet: node.attr("htmlstylesheet"),
+ htmlcoverpage: node.attr("htmlcoverpage"),
+ htmlintropage: node.attr("htmlintropage"),
+ scripts: node.attr("scripts"),
)
end
def inline_quoted(node)
noko do |xml|