Sha256: f09b5b7abc56839f067f5e3e3170c6453aff9b3aa9a993e0d54ef1c2aaca65e6
Contents?: true
Size: 942 Bytes
Versions: 1
Compression:
Stored size: 942 Bytes
Contents
require "citeproc/ruby/format" module CiteProc module Ruby module Formats class Adoc < Format # TODO # def bibliography(bibliography) # end def apply_font_style output.replace "_#{output}_" if options[:'font-style'] == "italic" end # TODO # def apply_font_variant # output.replace "*#{output}*" if options[:'font-variant'] == 'small-caps' # end def apply_font_weight output.replace "*#{output}*" if options[:'font-weight'] == "bold" end # TODO # def apply_text_decoration # output.replace "*#{output}*" if options[:'text-decoration'] == 'underline' # end def apply_vertical_align output.replace "^#{output}^" if options[:vertical_align] == "sup" output.replace "~#{output}~" if options[:vertical_align] == "sub" end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
asciidoctor-bibliography-0.4.0 | lib/citeproc/ruby/formats/adoc.rb |