-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added option to run a file after each code block as well.
- Loading branch information
1 parent
dc24ecc
commit 173682f
Showing
5 changed files
with
118 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?php declare(strict_types=1); | ||
|
||
// Typically, you'd want to do some autoloading and setup here. | ||
|
||
function multiply($x, $y) | ||
{ | ||
return $x * $y; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# UpToDocs | ||
|
||
Try UpToDocs on this Markdown file. | ||
|
||
## Examples | ||
|
||
This is how you do multiplication: | ||
|
||
```php | ||
<?php | ||
$v = multiply(1,2); | ||
``` | ||
|
||
And another: | ||
|
||
```php | ||
<?php | ||
$v = multiplyy(10,2); | ||
``` | ||
|
||
This last example has a typo, so UpToDocs will catch this. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters