Skip to content

Commit

Permalink
chore: refactor readme styling
Browse files Browse the repository at this point in the history
  • Loading branch information
vicvolk committed Aug 9, 2022
1 parent 8fb0f67 commit eddc04a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ composer require bingo-soft/script

# Example 1 (using Juel engine)

```
```php
$manager = new ScriptEngineManager();
$engine = $manager->getEngineByName("juel");
echo $engine->eval('${1 + 2}'); //prints 3
```

# Example 2 (using Juel engine)

```
```php
$manager = new ScriptEngineManager();
$engine = $manager->getEngineByName("juel");

Expand All @@ -50,7 +50,7 @@ echo $engine->eval('${simple.bar() + simple.foo()}'); //prints 34

# Example 3. Calculate factorial using Lua module

```
```php
$manager = new ScriptEngineManager();
$engine = $manager->getEngineByName("lua");
$engine->put('a', 5);
Expand Down

0 comments on commit eddc04a

Please sign in to comment.