DEV Community

loading...

Discussion on: 10 Things I've Learned While Building A Website For My Blog πŸ“š

Collapse
dar5hak profile image
Darshak Parikh

Thanks for the post. I relate to many of these since I recently launched my own static site.

Particularly, thanks for recommending glyphhanger. I'm using Google Fonts, which does the same thing, but also strips away some OpenType features I need.

And a suggestion: can you put the responsive image code into a textual code block? That way, it's more accessible and easier to copy and paste.

Collapse
dkabardinov profile image
Dmitrii Kabardinov Author

Hi Darshak. I really like your site, thanks for sharing. I even went and subscribed to your RSS feed after I read your latest post (creation and consumption). Nice work. I dig the name of the blog too - very witty, haha. Now regarding responsive image example. I used a picture because I'm not sure how to embed a block of code here on dev and whether dev applies syntax highlighting to your code or not. I know that posting code snippets via images is not very accessible, but if that helps a little, I included the actual code in the alt attribute of the image. That being said, I do it differently on my website, where I posted this article originally: kabardinovd.com/posts/10-things-I-...

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.

Collapse
dar5hak profile image
Darshak Parikh

Speaking of RSS, I've been meaning to set up a collection of feeds I like. What apps do you use?

Thread Thread
dkabardinov profile image
Dmitrii Kabardinov Author

"RSS Reader" (on Android)