 		var currentHtml: String = ""
 		var inlineHtml: [String] = []
 		var output: String = ""
+		var outputIsValid: Bool = false
 	}
 
 	private struct SavedCacheEntry: Codable, FetchableRecord, TableRecord, PersistableRecord {

		}
		changedChunks.sort()
	}

	private func inlineHtmlFor(chunk: RmdDocumentChunk, parent: RmdDocumentChunk) -> String {
		// just return nothing if not code
		guard chunk.isInline else { return "" }
		// TODO: generate actual code
		let parHTML = document.string(for: chunk, type: .outer)
		return parHTML
	}

		}
		Log.info("updating output for chunk \(chunkNumber)")
		chunkInfo[chunkNumber].output = outputContent
		chunkInfo[chunkNumber].outputIsValid = true
		// recache output
		var changed = [chunkNumber]
		cacheCode(changedChunks: &changed)
