add custom text converter for stacktoc