pub fn format_tasks_markdown( tasks: &[(Task, Vec<String>)], states_config: &StatesConfig, ) -> String
Format a list of tasks as markdown. Groups tasks by their state dynamically based on the states config.