0
0 комментариев

есть переменная со строкой нужно её переформатировать добавить ключи '\n'
и возможность '[1]' — изменить на смайл

row[2] = "[1] Place chicken in a medium bowl. Cover with lime juice and water. Set aside. [2] In a blender or food processor, place allspice, nutmeg, salt, brown sugar, thyme, ginger, black pepper and vegetable oil. Blend well, then mix in onions, green onions, garlic and habanero peppers until almost smooth. [3] Pour most of the blended marinade mixture into bowl with chicken, reserving a small amount to use as a basting sauce while cooking. Cover, and marinate in the refrigerator for at least 2 hours. [4] Preheat an outdoor grill for medium heat. [5] Brush grill grate with oil. Cook chicken slowly on the preheated grill. Turn frequently, basting often with remaining marinade mixture. Cook to desired doneness."

нужное форматирование :

""" [1] Place chicken in a medium bowl. Cover with lime juice and water. Set aside. \n
[2] In a blender or food processor, place allspice, nutmeg, salt, brown sugar, thyme, ginger, black pepper and vegetable oil. Blend well, then mix in onions, green onions, garlic and habanero peppers until almost smooth. \n
[3] Pour most of the blended marinade mixture into bowl with chicken, reserving a small amount to use as a basting sauce while cooking. Cover, and marinate in the refrigerator for at least 2 hours. \n
[4] Preheat an outdoor grill for medium heat. \n
[5] Brush grill grate with oil. Cook chicken slowly on the preheated grill. Turn frequently, basting often with remaining marinade mixture. Cook to desired doneness.\n"""


Добавить комментарий