Class: Redcarpet::Render::HTML_TOC

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

Instance Method Summary collapse

Constructor Details

#initializeObject



420
421
422
423
424
425
426
427
428
429
# File 'ext/redcarpet/rc_render.c', line 420

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;
}