summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2015-06-27 01:35:56 -0600
committerDan Allen <dan.j.allen@gmail.com>2015-06-27 01:35:56 -0600
commitfa40a56d01acfcefe7520b8213173b220533afe1 (patch)
treeb10f1918af3f1a6703d2c14b4c51864b36c1811d /lib
parent826af6637c1fb783622e4926ecbcc13da913ac00 (diff)
move footnotes to inline in a lighter shade
Diffstat (limited to 'lib')
-rw-r--r--lib/asciidoctor-pdf/converter.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/asciidoctor-pdf/converter.rb b/lib/asciidoctor-pdf/converter.rb
index 47a7fb79..e6eb066c 100644
--- a/lib/asciidoctor-pdf/converter.rb
+++ b/lib/asciidoctor-pdf/converter.rb
@@ -1287,10 +1287,10 @@ class Converter < ::Prawn::Document
def convert_inline_footnote node
if (index = node.attr 'index')
#text = node.document.footnotes.find {|fn| fn.index == index }.text
- %(<sup>[#{index}: #{node.text}]</sup>)
+ %( <color rgb="#999999">[#{index}: #{node.text}]</color>)
elsif node.type == :xref
# NOTE footnote reference not found
- %(<sup><color rgb="FF0000">[#{node.text}]</color></sup>)
+ %( <color rgb="FF0000">[#{node.text}]</color>)
end
end