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: