Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Flexboxes in GitHub README.md for profile

When I preview my file in Visual Studio Code it prints out correctly, but when I go to GitHub and look at the presentation, it moves the 2 columns to the same row and the styles section of the Markdown just displays it in plain-text.

You can see the changes itself on my profile: https://github.com/sfgoodwiniii

And the README repo: https://github.com/sfgoodwiniii/sfgoodwiniii

like image 633
Stanley G. Avatar asked Aug 24 '26 02:08

Stanley G.


1 Answers

Unfortunately you cannot use CSS in GitHub markdown as it is a part of the sanitization process.

The HTML is sanitized, aggressively removing things that could harm you and your kin—such as script tags, inline-styles, and class or id attributes.

Source

like image 90
Mehrdad Moradi Avatar answered Aug 26 '26 22:08

Mehrdad Moradi



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!