method

snippet

v2_4_6 - Show latest stable - Class: RDoc::Text
snippet(text, limit = 100)
public

The first limit characters of text as HTML