Published 2023-05-27 08:48:08
Matching Markdown And HTML Headings Using Regex | PHPThere are about three different heading syntaxes in Markdown. Two of which allow a heading level of up to about 6. The PHP script below matches all the different types of headings in Markdown Also, the script ignores the maximum level of 6 and will match as long as the pattern follows the ...
Published 2023-05-23 06:05:01
How To Create A Block Button In Bootstrap 5 (full Width Button)Bootstrap 5 no longer uses the class to create full-width buttons. To create a full-width button you will need to wrap the button in a tag that has ...
Published 2023-05-18 14:01:04
Regex Get All Images In A Markdown File | PHPThe PHP script below parses and returns the URL and ALT of image tags found in any markdown text. Note: I added support for the HTML image tag as well since markdown is a superset of HTML. ...
Published 2023-05-18 08:35:33
Regex Get All Images In A Markdown File | JSThe script below makes it possible to parse and extract URLs and ALT data of image tags from markdown text using Javascript. ...
Published 2023-05-15 11:19:41
A Row Must Be An Array Or A TableSeparator Instance | Laravel Artisan FixIf you try using the Laravel artisan output command , you might end up with the error This means whatever the method is getting is either not an array or in a format that is usable by the method. ...
Published 2023-05-10 15:55:21
What Is Code Obfuscation?Code obfuscation is the art of mangling code in other to make it hard to understand but can still be processed by a compiler or ...