Skip to content

Commit ec83541

Browse files
committed
again the readme
1 parent 1a9571b commit ec83541

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ $lcqs = new lcweb\quick_sc\lc_quick_shortcodes;
2020
```
2121
<br/>
2222

23-
#### Shortcodes registration
23+
### Shortcodes registration
2424
Here are two examples: the first says Hello!, while the second prints a code block.
2525

2626
``` php
@@ -52,9 +52,9 @@ Analyzing function parameters:
5252
2. __*contents*__ - this is empty if $has_contents is set to false
5353

5454

55-
<br/>
55+
<br/><br/>
5656

57-
#### Shortcodes execution
57+
### Shortcodes execution
5858
Once everything is properly registered, just let the class execute your string
5959

6060
``` php
@@ -67,11 +67,11 @@ Once everything is properly registered, just let the class execute your string
6767
* @return (string) executed text
6868
*/
6969

70-
$string = 'Lorem ipsum [code]dolor sit amet[/code]';
70+
$string = 'Lorem ipsum [code lang="php"]dolor sit amet[/code]';
7171
echo $lcqs->process($string, $bbcodes = true);
7272

7373
/* Resulting string:
74-
* Lorem ipsum <pre class="language-html"><code>dolor sit amet</code></pre>
74+
* Lorem ipsum <pre class="language-php"><code>dolor sit amet</code></pre>
7575
*/
7676
```
7777

0 commit comments

Comments
 (0)