-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.test-code-display.txt
48 lines (32 loc) · 1.02 KB
/
README.test-code-display.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# Code Dispay Test Document
This file includes a number of code examples that should all be displayed properly in both formatted and raw versions.
## Inline Examples
- ```$this->version();```
- ```<a href='#'>$this->version();</a>```
- ```<a href='#'><?=$this->version();?></a>```
- ```<a href='#'><?=$this->version();?></a>```
## Indented Code Blocks
echo <<<HTML
<h1>Hello World</h1>
HTML;
## Fenced Blocks
PHP...
```php
echo <<<HTML
<h1>Hello World</h1>
HTML;
```
HTML...
```html
<!-- CSS Stylesheet -->
<link rel="stylesheet" type="text/css" href="<?php echo AllInOneMinify::CSS('css/stylesheet.css'); ?>">
<!-- LESS file -->
<link rel="stylesheet" type="text/css" href="<?php echo AllInOneMinify::CSS('css/stylesheet.less'); ?>">
```
HTML & PHP...
```html+php
<!-- CSS Stylesheet -->
<link rel="stylesheet" type="text/css" href="<?php echo AllInOneMinify::CSS('css/stylesheet.css'); ?>">
<!-- LESS file -->
<link rel="stylesheet" type="text/css" href="<?php echo AllInOneMinify::CSS('css/stylesheet.less'); ?>">
```