Hacker News new | ask | show | jobs
by JadeNB 2218 days ago
> Would it be possible to display text without enabling JS?

No, because then how would it set up pullquotes like "If you don't set a baseline somewhere, you risk starting a book that grows backward" that you can tweet at the push of a button? (Is that really a thing? I guess it must be somewhere, but it's new to me on a (I guess) programmer's blog.)

2 comments

You can't actually send a tweet at the push of a button (unless you're connected with twitter oauth with the right permissions), but what you can do (and that button does) is opens the tweet composer pre-filled with the quote, ready for you to then just hit "Tweet"
I used to do that on my blog. Example: http://beza1e1.tuxen.de/team_building.html

Stopped doing it as I got negative feedback about it being annoying. I never tracked how many tweets I get out of it though. So if you aim for popularity (unlike me) it might still be worth it.

It was one of the big reasons I used RestructuredText as markup language for my static website generator. It is extensible enough to make these tweet-blocks with just:

    .. tweetable :: Psychological Safety is THE core factor for Great Teams says Google
They are just links to Twitter, no JS involved on those fragments.