Add code snippet for textile