From 3a313788328efd1207c525a606c73db5404ce889 Mon Sep 17 00:00:00 2001 From: lulunac27a Date: Sun, 14 Jan 2024 19:15:00 -0600 Subject: [PATCH 1/2] Fix spelling mistakes and grammar Fixed some spelling mistakes and make sure the grammar is correct --- README.md | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index 82232eb..3b9b547 100755 --- a/README.md +++ b/README.md @@ -5,9 +5,9 @@ EnlighterJS3 ==================================================================== -**EnlighterJS, an open source syntax highlighter written in pure javascript** +**EnlighterJS, an open-source syntax highlighter written in pure javascript** -Using it can be as simple as adding a single script and style to your website, choosing the elements you wish to highlight, and EnlighterJS takes care of the rest. +Using it can be as simple as adding a single script and style to your website, and choosing the elements you wish to highlight, and EnlighterJS takes care of the rest. ![Appearance](assets/enlighterjs_bootstrap4.png) @@ -32,9 +32,9 @@ Features * 40 supported languages/formats * 12 high quality themes * Inline Syntax highlighting -* Codegroups to displays multiple code-blocks within a tab-pane +* Codegroups to display multiple code-blocks within a tab-pane * Point out special lines of code -* Ultra small footprint: `45KB JS` (all languages) + `10KB CSS` (single theme; all themes 60KB) +* Ultra-small footprint: `45KB JS` (all languages) + `10KB CSS` (single theme; all themes 60KB) * Highlight all codeblocks on your page with a single command #### TECHNICAL FEATURES #### @@ -113,7 +113,7 @@ Features * **Classic** (classic) - SyntaxHighlighter inspired * **Bootstrap** (bootstrap4) - Bootstrap 4 inpired themes, high contrast * **Beyond** (beyond) - BeyondTechnology Theme -* **Godzilla** (godzilla) - A MDN inspired Theme +* **Godzilla** (godzilla) - An inspired Theme * **Eclipse** (eclipse) - Eclipse inspired * **MooTwo** (mootwo) - Inspired by the MooTools Website * **Droide** (droide) - Modern, minimalistic @@ -125,7 +125,7 @@ Features Quickstart ---------------------------------------------- -1. Download latest [EnlighterJS release](https://github.com/EnlighterJS/EnlighterJS/releases) +1. Download the latest [EnlighterJS release](https://github.com/EnlighterJS/EnlighterJS/releases) 2. Copy the files from the `dist/` directory to your public html location 3. Include the CSS+JS files 4. Tag the codeblocks on your page (e.g. `pre` tags with `data-enlighter-language` attribute) @@ -133,7 +133,7 @@ Quickstart ### Minimal Example ### -This is a minimalistic example how to highlight sourcecode with EnlighterJS. The working example (valid js+css paths) is available within the [example directory](examples/). +This is a minimalistic example how to highlight source code with EnlighterJS. The working example (valid js+css paths) is available within the [example directory](examples/). ```html @@ -153,7 +153,7 @@ This is a minimalistic example how to highlight sourcecode with EnlighterJS. The et dolore window.addEvent('domready', async (a,b) => {}); magna aliquyam erat.

- +
 // buttons used in codegroups + toolbar
 .enlighter-btn{
@@ -183,15 +183,15 @@ This is a minimalistic example how to highlight sourcecode with EnlighterJS. The
 
     
     
 
@@ -201,16 +201,16 @@ This is a minimalistic example how to highlight sourcecode with EnlighterJS. The
 Contribution
 ------------
 
-EnlighterJS is OpenSource and managed on [GitHub](https://github.com/EnlighterJS/EnlighterJS) - if you like, you're welcome to contribute!
+EnlighterJS is open source and managed on [GitHub](https://github.com/EnlighterJS/EnlighterJS) - if you like, you're welcome to contribute!
 To simplify the release and quality control process, please follow these remarks:
 
 1. **One Enhancement** _==>_ **One Commit** (don't merge a bunch of changes in a single commit!)
-2. Only commit changes to the `src/` or `examples/` directory. Otherwise your request will be rejected
+2. Only commit changes to the `src/` or `examples/` directory. Otherwise, your request will be rejected
 3. Discuss larger project changes with the Maintainer **before implementing**
-4. Use GitHub for question, bugreports and discussions
+4. Use GitHub for questions, bug reports, and discussions
 
 License
 ----------------------------------------------
 
-EnlighterJS is OpenSource and licensed under the Terms of [Mozilla Public License 2.0](https://opensource.org/licenses/MPL-2.0). You're welcome to [contribute](docs/CONTRIBUTING.md)
+EnlighterJS is open source and licensed under the Terms of [Mozilla Public License 2.0](https://opensource.org/licenses/MPL-2.0). You're welcome to [contribute](docs/CONTRIBUTING.md)
 

From f9c2b547aa24a2f84d5563eeedb1bfcc1dc13aa3 Mon Sep 17 00:00:00 2001
From: lulunac27a 
Date: Sun, 14 Jan 2024 19:18:06 -0600
Subject: [PATCH 2/2] Fix more spelling mistakes

Fixes more spelling mistakes and make the grammar correct
---
 README.md | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/README.md b/README.md
index 3b9b547..57add87 100755
--- a/README.md
+++ b/README.md
@@ -32,17 +32,17 @@ Features
 * 40 supported languages/formats
 * 12 high quality themes
 * Inline Syntax highlighting
-* Codegroups to display multiple code-blocks within a tab-pane
+* Codegroups to display multiple code blocks within a tab pane
 * Point out special lines of code
 * Ultra-small footprint: `45KB JS` (all languages) + `10KB CSS` (single theme; all themes 60KB)
-* Highlight all codeblocks on your page with a single command
+* Highlight all code blocks on your page with a single command
 
 #### TECHNICAL FEATURES ####
 
-* Ultrafast Tokenizer Engine based on priorized regular expressions
+* Ultrafast Tokenizer Engine based on prioritized regular expressions
 * Second-Stage-Tokenizer for optimized performance 
 * Full customizable themes written in [less](http://lesscss.org/)
-* Themes available as single css files to reduce footprint
+* Themes available as single CSS files to reduce footprint
 * Views based on [JSX](https://reactjs.org/docs/introducing-jsx.html)
 * Minimal, embedded DOM library
 * [gulp](https://gulpjs.com/) based build system
@@ -111,9 +111,9 @@ Features
 
 * **Enlighter** (enlighter, standard) - Enlighter`s default Theme
 * **Classic** (classic) - SyntaxHighlighter inspired
-* **Bootstrap** (bootstrap4) - Bootstrap 4 inpired themes, high contrast
+* **Bootstrap** (bootstrap4) - Bootstrap 4 inspired themes, high contrast
 * **Beyond** (beyond) - BeyondTechnology Theme
-* **Godzilla** (godzilla) - An inspired Theme
+* **Godzilla** (godzilla) - An MDN-inspired Theme
 * **Eclipse** (eclipse) - Eclipse inspired
 * **MooTwo** (mootwo) - Inspired by the MooTools Website
 * **Droide** (droide) - Modern, minimalistic
@@ -128,7 +128,7 @@ Quickstart
 1. Download the latest [EnlighterJS release](https://github.com/EnlighterJS/EnlighterJS/releases)
 2. Copy the files from the `dist/` directory to your public html location
 3. Include the CSS+JS files
-4. Tag the codeblocks on your page (e.g. `pre` tags with `data-enlighter-language` attribute)
+4. Tag the code blocks on your page (e.g. `pre` tags with `data-enlighter-language` attribute)
 5. Initialize highlighting
 
 ### Minimal Example ###
@@ -155,7 +155,7 @@ This is a minimalistic example how to highlight source code with EnlighterJS. Th
 
         
         
-// buttons used in codegroups + toolbar
+// buttons used in code groups + toolbar
 .enlighter-btn{
     display: inline-block;
     margin: 0px 5px 0px 5px;