Looking at the commonmark documentation, it looks like you want the attributes extension. https://commonmark.thephpleague.com/2.1/extensions/attributes/
The documentation for the Laravel-Markdown package says to add extensions in the config file. https://github.com/GrahamCampbell/Laravel-Markdown#commonmark-extensions