 				lastTextChunk = tchunk
 				lastWasInline = false
 			case .code:
-				let cchunk = InternalCodeChunk(parser: parser, contents: parser.textStorage.string, range: parserChunk.innerRange, options: parserChunk.rOps)
+				let cchunk = CodeChunk(parser: parser, contents: parser.textStorage.string, range: parserChunk.innerRange, options: parserChunk.rOps)
 				if parserChunk.isInline, let lastChunk = lastTextChunk {
 					let achunk = InternalInlineCodeChunk(parser: parser, contents: parser.textStorage.string, range: parserChunk.innerRange)
 					attach(chunk: achunk, to: lastChunk.textStorage)

					attach(chunk: dchunk, to: lastChunk.textStorage)
					lastWasInline = true
				case .display:
					let dchunk = InternalEquationChunk(parser: parser, contents: parser.textStorage.string, range: parserChunk.parsedRange, innerRange: parserChunk.innerRange)
					append(chunk: dchunk)
					lastTextChunk = nil
					lastWasInline = false

}

// MARK: -
class CodeChunk: InternalRmdChunk, Code {
	var options: String
	init(parser: BaseSyntaxParser, contents: String, range: NSRange, options: String?) {
		self.options = options ?? ""
