What Is A Bearer Token?
A bearer token is an Access Token passed to a server using the HTTP Authorization header. This cryptographic string can be generated based on a special algorithm or generated randomly. It's used p...
How To Make A Markdown Link Open In Another Tab
Sometimes it's important not to break a reader's flow by redirecting them away from your markdown document when they click on a link. In this case, such links should open up in a different tab in their browser, unfortunately, the ...
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 ...
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...
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. ...
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. ...