Method: MarkdownLint::Doc#lines

Defined in:
lib/mdl/doc.rb

#linesObject (readonly)

A list of raw markdown source lines. Note that the list is 0-indexed, while line numbers in the parsed source are 1-indexed, so you need to subtract 1 from a line number to get the correct line. The element_line* methods take care of this for you.



15
16
17
# File 'lib/mdl/doc.rb', line 15

def lines
  @lines
end