 public protocol RmdChunk: class {
 	var textStorage: NSTextStorage { get }
 	var chunkType: ChunkType { get }
-	
+	var rawText: String { get }
 }
 
 public protocol InlineChunk: RmdChunk {}

					lastWasInline = false
					return
				}
				let tchunk = InternalTextChunk(parser: parser, contents: parser.textStorage.string, range: parserChunk.innerRange)
				append(chunk: tchunk)
				lastTextChunk = tchunk
				lastWasInline = false

		parser = BaseSyntaxParser.parserWithTextStorage(textStorage, fileType: FileType.fileType(withExtension: "Rmd")!, helpCallback: helpCallback)!
		parser.parse()
		frontMatter.value = parser.frontMatter
		var lastTextChunk: MarkdownChunk?
		var lastWasInline: Bool = false
		try parser.chunks.forEach { parserChunk in
			switch parserChunk.chunkType {
