From 73b6eea443f0039743f98c29519729639e7dc0f1 Mon Sep 17 00:00:00 2001 From: Simon Wisselink Date: Sun, 16 Feb 2020 09:46:16 +0100 Subject: [PATCH] Fixed filename in readme and added some styling --- README.md | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index e6ceec2..b177a8c 100644 --- a/README.md +++ b/README.md @@ -19,15 +19,17 @@ in your composer.json file to get the generator for Smarty 3.1.18. -To generate the template lexer and parser run Create_Template_Parser.php. +To generate the template lexer and parser run: `php Create_Template_Parser.php` + It will create - smarty_internal_templatelexer.php from smarty_internal_templatelexer.plex - smarty_internal_templateparser.php from smarty_internal_templateparser.y +* `smarty_internal_templatelexer.php` from `smarty_internal_templatelexer.plex` +* `smarty_internal_templateparser.php` from `smarty_internal_templateparser.y` + +To generate the config file lexer and parser run: `php Create_Config_Parser.php` -To generate the config file lexer and parser run Create_Template_Parser.php. It will create - smarty_internal_configfilelexer.php from smarty_internal_configfilelexer.plex - smarty_internal_configfileparser.php from smarty_internal_configfileparser.y +* `smarty_internal_configfilelexer.php` from `smarty_internal_configfilelexer.plex` +* `smarty_internal_configfileparser.php` from `smarty_internal_configfileparser.y` If the "smarty/smarty" package was installed by composer the generated lexer and parser files will be copied automatically into the distribution.