Class: Redcarpet::Render::HTML_TOC

Inherits:
Base
  • Object
show all
Defined in:
ext/redcarpet/rc_render.c

Instance Method Summary collapse

Constructor Details

#initializeObject



438
439
440
441
442
443
444
445
446
447
# File 'ext/redcarpet/rc_render.c', line 438

static VALUE rb_redcarpet_htmltoc_init(VALUE self)
{
  struct rb_redcarpet_rndr *rndr;
  Data_Get_Struct(self, struct rb_redcarpet_rndr, rndr);

  sdhtml_toc_renderer(&rndr->callbacks, (struct html_renderopt *)&rndr->options.html);
  rb_redcarpet__overload(self, rb_cRenderHTML_TOC);

  return Qnil;
}