add todotxt mode and markdown mode