Is any way to embed Netdata badge into Gitlab readme markdown file? When I write md-file in Typora editor I can see nice preview, but after commiting the file to gitlab, the badge disappeared.
The first thing that I notice is that you have a double // after the URL of the node.
Moreover, we have this doc on badges, which is in itself a nice set of examples of badges. You can look into the exact syntax of each badge by right-clicking on a badge and selecting inspect:
Hi @OdysLam , thank you very much for your reply and helpful investigation. Actually my question has been resolved with your help. Sorry for my long answer
Obviously, double // is not a problem, that code was copied as is from Netdata alarms modal window:
I tried to play with embedding html because it show me a nice preview in my favorite markdown editor Typora. But after reading Gitlab documentaion I’ve made some commits to my local gitlab directly from IDE and found a solution:
Finally I use the second URL from active alarms’ modal window.
This badge appears in my readme.md file with the following code:
Honestly, auto refresh doesn’t work right now) but I’m happy though disk performance is being degraded and everybody can see it when opens that readme))
Hi @Puratchidasan, you are welcome. Thank you for your feedback.
Sure, you are quite right! I realized that markdown capabilities depend on gitlab version, and differ for local or host-based repo as well as Gitlab vs Github. Probably newer versions support more syntax features.