Some farmers’ markets are raising prices to offset the rising costs of goods.