EDDYMENS

Eddymens (List page)


Last updated 2023-05-27 08:48:08

Matching Markdown And HTML Headings Using Regex | PHP

There 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 ...

Last updated 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 a grid class i.e.: (grid d...

Last updated 2023-05-18 14:01:04

Regex Get All Images In A Markdown File | PHP

The 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. ...

Last updated 2023-05-18 08:35:33

Regex Get All Images In A Markdown File | JS

The script below makes it possible to parse and extract URLs and ALT data of image tags from markdown text using Javascript. ...

Last updated 2023-05-15 11:19:41

A Row Must Be An Array Or A TableSeparator Instance | Laravel Artisan Fix

If 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. First check to be sure the data being passed is an array. You can use the...

Last updated 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 ...