markdown tool: insert chapter numbers