Fix config bug where markdown variables were not being stored