gitlablinkedin-apicode-snippets

How can I embed a snippet code at my Linkedin article?


I want to embed a snippet code at my LinkedIn article, like that:

enter image description here

That image is from Gitlab snippets (https://gitlab.com/snippets/1841785). Is there some way to render its content in the LinkedIn articles? I saw that post at my LinkedIn feed and I got curious how to do this.

I noticed that Gitlab provides two way to get the snippet: a embed or share content. How should I use?

Thank you.


Solution

  • Use https://carbon.now.sh/ for creating beautiful code snippets and download the pic and use it wherever you want