From 45243a51f58cec294ed552798ad6bb7b032c9cdc Mon Sep 17 00:00:00 2001 From: camilo Date: Thu, 5 May 2022 14:44:20 +0200 Subject: [PATCH] Update 'README.md' --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b377a91..203f208 100644 --- a/README.md +++ b/README.md @@ -100,7 +100,8 @@ words = pypandoc.convert_text(text, 'html', format='md') * Make a dictionary of the properties -```properties = [ +``` +properties = [ { 'title':'action', 'symbol':'AC', @@ -117,11 +118,13 @@ words = pypandoc.convert_text(text, 'html', format='md') 'color': 'orange' }, ] + ``` ### Writing Website files * Writing a legend using the properties + ``` legend = '' @@ -131,6 +134,7 @@ for title, symbol, color in properties: title = properties[i]['title'] legend += f'''\n''' i += 1 + ``` * Adding property symbols in front of each word generating a Java script code: