method

snippet

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

The first limit characters of text as HTML