Add CSS class to markdown table

According to this old post: Markdown extra not work, there’s no way to add a class to a table… is this still true? And is the solution offered there still the best one?

Quoting:

Thanks.

True.

Wrapping the element with class is the quickest, and sometimes render a markdown extra to be useless.

Unless you want to write your own markdown