From 759a26a7fd59830d4a59157e5c71583c226c24ea Mon Sep 17 00:00:00 2001 From: Tim Krief Date: Thu, 29 Jul 2021 03:18:25 +0000 Subject: [PATCH] Update README.md fixing some typos and code issues --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 9e827eb..79fe722 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,7 @@ Now you can access it's features from your code:
```Python -import web_minify +import web_minify.processor settings = { "input": "my_originals_dir/", @@ -68,11 +68,11 @@ p = web_minify.processor.Processor(settings) # Process files as per settings (this is equivalent to the commandline mode) -p. process_file() +p.process_files() # Process a list of files relative to input, and output them depending on settings -p. process_files_list(["input_file.svg", "input_file.html"]) +p.process_files_list(["input_file.svg", "input_file.html"]) # Process a single file (disregard input/output from settings @@ -279,7 +279,7 @@ Already supported Formats: | *.js | JavaScript | Buggy for modern syntax features | Zero | | *.sass | Syntactically Awesome Style Sheets | Seems to work | Zero | | *.scss | Syntactically Awesome Style Sheets (modern syntax) | Seems to work | Zero | -| *.png Portable Network Graphics | Seems to work | Zero | +| *.png | Portable Network Graphics | Seems to work | Zero | | *.jpg, *.jpeg | Joint Photographic Experts Group | Seems to work | Zero | | *.svg | Scalable Vector Graphics | Seems to work | Zero | | *.your_file | It is made to be [extensible](#Developing-web-minify) | Submit your PR! | ? | -- GitLab