    # File lib/ramaze/contrib/maruku_uv.rb, line 34
          def to_html_code
            source = self.raw_code
            use_syntax = get_setting(:html_use_syntax)
            uv_style = get_setting(:uv_style)

            lang = self.attributes[:lang] || @doc.attributes[:code_lang]
            lang ||= 'ruby' if attributes[:ruby]

            # we always use syntax highlighting, this is a doc wiki
            if lang and use_syntax
              element = uv_highlight(source, lang, uv_style)
            else
              element = to_html_code_using_pre(source)
            end

            color = get_setting(:code_background_color)

            if color != Globals[:code_background_color]
              element.attributes['style'] = "background-color: #{color};"
            end

            add_ws element
          end