diff --git a/TIPS:-Custom-Code.md b/TIPS:-Custom-Code.md index 7c21332..7e11210 100644 --- a/TIPS:-Custom-Code.md +++ b/TIPS:-Custom-Code.md @@ -35,7 +35,7 @@ Here are some 'tips' when using custom code. > placeholder must be on its own line ### New PHP Insert Code -```php +```php {.line-numbers} $bar = 'easy'; $foo = 'some code'; /***[INSERT<>$$$$]***/ @@ -45,7 +45,7 @@ $more = 'more some code'; ``` ### Existing PHP Insert Code -```php +```php {.line-numbers} $bar = 'easy'; $foo = 'some code'; /***[INSERTED$$$$]***///*23*/ @@ -55,7 +55,7 @@ $more = 'more some code'; ``` ### Update PHP Insert Code -```php +```php {.line-numbers} $bar = 'easy'; $foo = 'some code'; /***[INSERTED<>$$$$]***///*23*/ @@ -69,7 +69,7 @@ $more = 'more some code'; > placeholder must be on its own line ### New PHP Replace Code -```php +```php {.line-numbers} $bar = 'easy'; /***[REPLACE<>$$$$]***/ $foo = 'some code changed'; @@ -78,7 +78,7 @@ $more = 'more some code'; ``` ### Existing PHP Replace Code -```php +```php {.line-numbers} $bar = 'easy'; /***[REPLACED$$$$]***//*25*/ $foo = 'some code changed'; @@ -87,9 +87,75 @@ $more = 'more some code'; ``` ### Update PHP Replace Code -```php +```php {.line-numbers} $bar = 'easy'; /***[REPLACED<>$$$$]***//*25*/ $foo = 'some code changed'; /***[/REPLACED<>$$$$]***/ +$more = 'more some code'; ``` + +# Insert Examples (HTML) + +> placeholder must be on its own line + +### New HTML Insert Code +```html {.line-numbers} +