DEV Community

loading...

Discussion on: 10 Things I've Learned While Building A Website For My Blog 📚

Collapse
dar5hak profile image
Darshak Parikh

Thanks Dmitrii! I'm glad you liked my site. Yours is pretty marvelous too—Lighthouse aside, it just feels so fast. ⚡

As for the code snippet, DEV does support syntax highlighting in the usual markdown way: three backticks followed by html.

  <picture>
    <source srcset="/assets/images/PR.PNG" media="(min-width: 800px)" />
    <source srcset="/assets/images/PR-cropped-1.png" media="(max-width: 800px)" />
    <img src="/assets/images/PR-cropped-1.png" alt="Screenshot of a PR with comment data made by Staticman" /> 
  </picture>
Enter fullscreen mode Exit fullscreen mode
Thread Thread
dkabardinov profile image
Dmitrii Kabardinov Author

Nice, thanks for the tip. I'll use the text version next time then.