A method of treating an oil shale formation in situ includes providing heat directly from one or more heaters to at least a portion of the formation. The heat is controlled to maintain an average temperature of the portion below a dissociation temperature of carbonate minerals in the portion. A first fluid is injected into the portion of the formation. A second fluid is produced from the formation. An in situ conversion process is conducted in the portion of the formation.